-
Notifications
You must be signed in to change notification settings - Fork 24
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
(Feature request) — support react-native-postcss-transformer #70
Comments
You should already be able to make this work by adding postcss configuration. Similar to how you can use tailwind/nativewind. I can try to create an example if you like. |
@dannyhw As I understand it, the problem is that the It will be great if you help! metro.config.js
metro-transformer.js
.storybook/main.js
|
Yeah but you don't need metro for the plugin because post css is already supported on web |
In fact if you just used the classname property with this it should just work already surely? |
I understand but my point is still the same. |
If you wanted seemless web support from that package it would have to be a feature of react-native-postcss-transformer not storybook anyway. But my point is that css importing already works for web. So if you used: React Native CSS modules using className property: like
then it should really work because of how classname is part of the dom and css is already supported on web. You might have to configure css modules for web I guess |
@dannyhw |
Hello!
it is possible to add support
react-native-postcss-transformer
?Thanks!
The text was updated successfully, but these errors were encountered: