@bansal/cn
v0.0.0
Published
Merge tailwindcss classes
Downloads
6
Maintainers
Readme
@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"