0.0.0 • Published 2 months ago
@bansal/cn v0.0.0
@bansal/cn
An utility function to merge tailwindcss classes. Borrowed from @shadcn/ui
install
npm install @bansal/cn
Usage
import { cn } from "@bansal/cn";
const className = cn(
"flex justify-start items-center p-0",
"justify-between items-start",
"p-4"
);
// className = "flex justify-between items-start p-4"
0.0.0
2 months ago