We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We currently apply classes to our components this way
className = `${rootClassName} ${className}`
Where we end up with empty spaces in class strings when a value isn't available.
<div class="rootclass "></div>
sometimes there's also a risk of className being undefined which causes our classes to look like this
className
<div class="rootclass undefined"></div>
Using tools like clsx or any other utils can help with this
https://www.npmjs.com/package/clsx
This will also require us to refactor most of our components
The text was updated successfully, but these errors were encountered:
This is currently in works and championed by @GoldGroove06
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
🚀 Feature Request
Feature Description
We currently apply classes to our components this way
Where we end up with empty spaces in class strings when a value isn't available.
sometimes there's also a risk of
className
being undefinedwhich causes our classes to look like this
Using tools like clsx or any other utils can help with this
https://www.npmjs.com/package/clsx
This will also require us to refactor most of our components
The text was updated successfully, but these errors were encountered: