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

Nativewind has no exported member: styled and StyledComponent #881

Open
amars29 opened this issue Apr 15, 2024 · 2 comments
Open

Nativewind has no exported member: styled and StyledComponent #881

amars29 opened this issue Apr 15, 2024 · 2 comments

Comments

@amars29
Copy link

amars29 commented Apr 15, 2024

I tried exporting styled component to make a component to enable classNames inside it. But it doesn;t have it. Actually the styled and StyledComponent were earlier present inside dist folder in version 2.0.11 but it is not in version 4.0.36

@AZReed
Copy link

AZReed commented Apr 29, 2024

Screenshot 2024-04-29 at 12 53 49 AM

Not sure if this is the same issue, @amars29 , but I think I'm having it too with nativewind v4

@daybreaker
Copy link

Running into this issue using react native bottom sheet, trying to get my custom colors to work for font and background colors in regular Text and View components inside a BottomSheetView. Someone said their solution was to wrap BottomSheetView in styled but v4 doesnt have this. I have tried using cssInterop without success so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants