busbud / tailwind-buddy

Tailwind Buddy: Your Friendly Helper for Composing Tailwind Classes 🎨
https://busbud.github.io/tailwind-buddy/
12 stars 1 forks source link

Add a function in the config to inject tailwind merge or similar #24

Closed flozero closed 2 months ago

flozero commented 2 months ago

As we have seen with usage we have to pass a utility we called mergedClasses everytime we want to merge classes between the component and the classname.

This is important because we don't want to create dependencies from another package. But we could easily let the user pass the mergeClass and use it all the time when returning the classes