Replies: 2 comments 1 reply
-
Sounds like a good feature to me!
This is already possible with the tailwind vscode extension and a few setting tweaks.
I haven't used the paid version of TailwindUI - are there react components? As we're in react-land, we're using the
That world is still in planning phase :) |
Beta Was this translation helpful? Give feedback.
-
Supported in v2.1.0 🎉 |
Beta Was this translation helpful? Give feedback.
-
Imagine a world in which twin.macro is usable as a global Babel plugin. (hopefully soon?! #247) We could then use the
tw=""
prop on all JSX elements anywhere in our apps:What if twin.macro could optionally support using
className
instead?This would enable us to use the
className=""
prop just like thetw=""
prop:Why is that cool?
What are the downsides?
className
string, e.g.<div className="my-global-btn-class border hover:border-black" />
Thoughts? 🤔
Beta Was this translation helpful? Give feedback.
All reactions