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
classnames
Now we have some code to conditional classes like this:
const kindClass = props.kind.toLowerCase(); const selectedClass = props.selected ? 'selected-card' : ''; ... return ( <div className={`card ${kindClass} ${selectedClass}`}> ... );
which can be made neater by using classnames.
See this for details:
The text was updated successfully, but these errors were encountered:
I’d like to work on this issue. Can you assign it to me?
Sorry, something went wrong.
No branches or pull requests
Now we have some code to conditional classes like this:
which can be made neater by using
classnames
.See this for details:
The text was updated successfully, but these errors were encountered: