0.0.0 • Published 2 years ago
@bansal/cn v0.0.0
@bansal/cn
An utility function to merge tailwindcss classes. Borrowed from @shadcn/ui
install
npm install @bansal/cnUsage
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 years ago