Open Helaers opened 5 months ago
Support for Nativewind v4. (It worked perfectly with Nativewind v2)
<Calendar className="p-3 mb-5 shadow-md rounded-md"
Should apply these styles to the wrapper.
Nothing happens now. I need to fallback to inline styles.
<Calendar style={{ padding: 12, borderRadius: 10, marginBottom: 20, shadowColor: '#000', shadowOffset: { width: 0, height: 3, }, shadowOpacity: 0.1, shadowRadius: 7, }}
Please run these commands in the project folder and fill in their results:
npm ls react-native-calendars
react-native-calendars@1.1305.0
npm ls react-native
react-native@0.74.1
Also specify:
No demo. Tailwind classes don't work, inline styles do.
Screenshots or gifs of the issue and the suggested fix will help us move faster with the review process.
@Helaers Is nativewind v4 released?
According to this, very very soon. https://x.com/nativewindcss/status/1823061543283720631
Good to know! ๐
Seems like v4 is now the default ๐ https://www.nativewind.dev/
Description
Support for Nativewind v4. (It worked perfectly with Nativewind v2)
Expected Behavior
Should apply these styles to the wrapper.
Observed Behavior
Nothing happens now. I need to fallback to inline styles.
Environment
Please run these commands in the project folder and fill in their results:
npm ls react-native-calendars
:react-native-calendars@1.1305.0
npm ls react-native
:react-native@0.74.1
Also specify:
Reproducible Demo
No demo. Tailwind classes don't work, inline styles do.
Screenshots
Screenshots or gifs of the issue and the suggested fix will help us move faster with the review process.