Here's an example function that takes in an array of class names and returns the corresponding Tailwind CSS styles as a string:
main.m1339 chars38 lines
You can then call this function with an array of Tailwind CSS classes, like this:
main.m117 chars4 lines
This will output the following string:
158 chars6 lines
gistlibby LogSnag