[WIP] React Native "style" support#95
[WIP] React Native "style" support#95visormatt wants to merge 1 commit intotailwindlabs:mainfrom visormatt:react-native-style-support
Conversation
|
Hey! I think we're going to hold off on this for now since we don't have a React Native library — if we ever actually support React Native then I think we can revisit 👍 |
|
@adamwathan no worries at all. For context, right now I am using tailwind-rn in combination with this and its working pretty great. Easy enough to patch it in short term though, thanks again for the killer work! |
|
I think is becoming more common. The tailwind plugin has a config for the HTML attributes accepted. Could it be used or have one for the prettier-plugin? |
|
@luispuig I've patched it with |
|
Nice! do you mind sharing the patch file and the script tag, please? thanks. I'd like to test it |
|
@luispuig our build tools are setup to patch it during the |
|
Thanks, I'll try it! |
Overview
This PR is a quick stab at expanding the JSX attributes to include
stylefor use in React Native. The use-case behind this is TailwindCSS is great and this plugin automates anotherstandardthat we would otherwise have to debate at some point. But, it doesn't yet support react native.Hoping you're open to the idea and thanks for the killer 💯 plugin 🔌