Files
aksel-mini/packages/core/react/src/util/cn.ts
T
Aksel Mini adfcead7be ✨ Add Accordion and Modal components
Accordion.Item manages its own open state with aria-expanded wiring.
Modal renders through a portal with backdrop click handling. Also adds
the ChevronDown icon used by the accordion header.
2026-08-21 15:10:00 +02:00

6 lines
164 B
TypeScript

type ClassValue = string | number | false | null | undefined;
export function cn(...classes: ClassValue[]): string {
return classes.filter(Boolean).join(" ");
}