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
Not sure if I'm doing something wrong here - this example is a slight modification of the example in https://github.com/mephju/classed-components#conditional-classes
Tx
const medium = false const MyComponent = classed.div` text-sm text-base ${medium} text-xl ${props => props.isHeader} `
JSX:
<MyComponent isHeader={false}>Header</MyComponent>
Expected:
<div class="text-sm">Header</div>
Actual:
<div class="text-sm text-base text-xl">Header</div>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure if I'm doing something wrong here - this example is a slight modification of the example in https://github.com/mephju/classed-components#conditional-classes
Tx
JSX:
Expected:
Actual:
The text was updated successfully, but these errors were encountered: