Open VladimirCreator opened 5 months ago
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'
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