// Class-name composition helper used by every shadcn primitive. // clsx handles conditional / array / object forms; tailwind-merge // dedupes conflicting Tailwind utilities (e.g. `px-2 px-4` → `px-4`). // Exported as a tiny subpath so consumers can grab it without // pulling the entire `@voltro/ui-shadcn` surface. import { clsx, type ClassValue } from 'clsx' import { twMerge } from 'tailwind-merge' export const cn = (...inputs: ClassValue[]): string => twMerge(clsx(inputs))