virtualvivek / react-windows-ui

Build Windows native look & feel apps using ReactJS. Provides a set of accessible, reusable and composable react components that make it super easy to create websites and apps.
https://virtualvivek.github.io/react-windows-ui/
MIT License
555 stars 46 forks source link

Missing exports for Appearance.js #30

Open mijorus opened 10 months ago

mijorus commented 10 months ago

Right not, src/lib/src/api/Appearance.js is not exported and cannot be used with import { Appearance } from "react-windows-ui"; as reported in the documentation.

Importing it with import Appearance from "react-windows-ui/dist/api/Appearance"; works just fine.

I'm using version 4.2.2 from npm

virtualvivek commented 10 months ago

Hi @mijorus,

Thanks for observing this error,

Could you please confirm if you are using TypeScript with this project ? (After auditing import is already looking fine for js but not with ts).