Spaces:
Running
Running
File size: 371 Bytes
db3dbe1 | 1 2 3 4 5 6 7 8 9 10 11 | /**
* Minimal `cn` class-name joiner. shadcn ships a clsx + tailwind-merge version,
* but this project doesn't use shadcn and a dependency-free join is enough for
* our usage (no conflicting Tailwind classes are passed through it).
*/
export function cn(
...classes: Array<string | false | null | undefined>
): string {
return classes.filter(Boolean).join(' ')
}
|