Skip to content
New issue

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

Check out classnames npm package to make your css logic a bit cleaner #7

Open
Eyosias5 opened this issue Sep 27, 2023 · 0 comments
Open

Comments

@Eyosias5
Copy link

${open ? "rounded-t-lg bg-gray-100 border-primary-400" : "rounded-lg"}

Nothing wrong with implementing css logic this way. Just wondering if you're familiar with class names :
https://www.npmjs.com/package/classnames

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant