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.
6 lines
164 B
TypeScript
6 lines
164 B
TypeScript
type ClassValue = string | number | false | null | undefined;
|
|
|
|
export function cn(...classes: ClassValue[]): string {
|
|
return classes.filter(Boolean).join(" ");
|
|
}
|