Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing exports for Appearance.js #30

Open
mijorus opened this issue Jan 17, 2024 · 1 comment
Open

Missing exports for Appearance.js #30

mijorus opened this issue Jan 17, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@mijorus
Copy link

mijorus commented Jan 17, 2024

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 virtualvivek added bug Something isn't working good first issue Good for newcomers labels Jan 23, 2024
@virtualvivek
Copy link
Owner

virtualvivek commented Jan 23, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants