npm
npm i @mskelton/cls
Yarn
yarn add @mskelton/cls
pnpm
pnpm add @mskelton/cls
import { cls } from "@mskelton/cls"
function MyComponent({ className }) {
return <p className={cls("mb-4", className)} />
}
clsx + tailwind-merge
npm
npm i @mskelton/cls
Yarn
yarn add @mskelton/cls
pnpm
pnpm add @mskelton/cls
import { cls } from "@mskelton/cls"
function MyComponent({ className }) {
return <p className={cls("mb-4", className)} />
}
clsx + tailwind-merge
ISC License