Open Eliascm17 opened 3 years ago
My exact question :-)
There is a regex to configure - but I am not sure 100% how it works..
But I am assuming with the right regex for "tsx" "jsx" files - then catching the tw`.....`
. should be do-able.
Regex for headwind to work with twrnc package: "(?:\b(className|style)\s=\stw\\"\'\`[\\"\'\])|(?:\\btw\\s*
([_a-zA-Z0-9\s\-\:\/]*)`)"
Must be added to "Settings>Extensions>Headwind>Class Regex>Edit in settings.json" and in there to whatever form you are using twrnc or other tailwind for react native packages
Requesting future support for this npm package so that this extension works for a React Native project using this tailwind package.
Example: