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
class-variance-authority actually already provides the functionality that clsx does and it is called cx.
clsx
cx
cx is just an alias for clsx so I suggest removing clsx from package.json.
/src/lib.utils.ts
import { clsx } from 'clsx' import type { ClassValue } from 'clsx'
is the same as
import { cx } from 'class-variance-authority' import type { ClassValue } from 'class-variance-authority/types'
The text was updated successfully, but these errors were encountered:
[remove]:clsx BartoszJarocki#52
c3be394
[fixes]:BartoszJarocki#52
574ea3c
Successfully merging a pull request may close this issue.
A redundant clsx dependecy
class-variance-authority actually already provides the functionality that
clsx
does and it is calledcx
.cx
is just an alias forclsx
so I suggest removing clsx from package.json./src/lib.utils.ts
is the same as
The text was updated successfully, but these errors were encountered: