This commit is contained in:
sunzhongyi
2026-05-20 01:30:49 +08:00
parent 7dded89537
commit 610805a374
42 changed files with 3451 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
type ClassValue = string | false | null | undefined;
/** Tiny className joiner. Filters out falsy values. */
export function cx(...args: ClassValue[]): string {
return args.filter(Boolean).join(' ');
}