12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
export type ClassValue = ClassArray | ClassDictionary | string | number | null | boolean | undefined;
|
|
|
|
export interface ClassDictionary {
|
|
[id: string]: any;
|
|
}
|
|
|
|
export interface ClassArray extends Array<ClassValue> { }
|
|
|
|
declare const clsx: (...classes: ClassValue[]) => string;
|
|
|
|
export default clsx;
|