bradlc / babel-plugin-tailwind-components

Use Tailwind with any CSS-in-JS library
MIT License
331 stars 25 forks source link

[v1] Recognising custom spacing naming #38

Closed tobeycodes closed 4 years ago

tobeycodes commented 5 years ago

I've added some new spacing lengths but they are not recognised by the macro. The following example does not work, but adding the class name directly using className does.

tw`p-2.5`