f8420072f4
- components.json configured (Radix preset, CSS variables, @/ aliases) - src/lib/utils.ts: cn() helper with clsx + tailwind-merge - 10 shadcn/ui components: button, card, badge, progress, input, label, select, separator, table, textarea - lucide-react@0.511 installed for iconography - clsx, tailwind-merge, class-variance-authority added as dependencies
7 lines
169 B
TypeScript
7 lines
169 B
TypeScript
import { clsx, type ClassValue } from "clsx";
|
|
import { twMerge } from "tailwind-merge";
|
|
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs));
|
|
}
|