UNPKG

css-variants

Version:

A lightweight, flexible API for managing CSS class variants.

6 lines (5 loc) 285 B
export type ClassDictionary = Record<string, unknown>; export type ClassValue = ClassValue[] | string | number | bigint | ClassDictionary | null | boolean | undefined; export type ClassArray = ClassValue[]; export declare function cx(...args: ClassValue[]): string; export default cx;