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
Hi, first of all thanks for good simple library.
In my projects i often use classnames/bind along with css modules like this:
import classnames from 'classnames/bind'; import styles from './something.module.css'; const cx = classnames.bind(styles); export function Something () { return <div className={cx('something')} /> }
I want that in dev mode or in tests, calling cx() with a class name that is not in the css-module will throw an exception.
cx()
Can i somehow do it with this library?
The text was updated successfully, but these errors were encountered:
@krutoo that isn't supported as is, but you could try patch-package?
patch-package
Sorry, something went wrong.
@dcousens Thank you for suggestion, i will try to use it
No branches or pull requests
Hi, first of all thanks for good simple library.
In my projects i often use classnames/bind along with css modules like this:
I want that in dev mode or in tests, calling
cx()
with a class name that is not in the css-module will throw an exception.Can i somehow do it with this library?
The text was updated successfully, but these errors were encountered: