@cloakui/styles
Version:
TailwindCSS presets for styling components in any JS framework.
10 lines (9 loc) • 435 B
TypeScript
import { CX, type CVA } from "cva";
import { ClassObject, Compose } from "./types";
export declare const cva: CVA;
export declare const cx: CX;
export declare const compose: Compose;
/**
* A wrapper function around `cx` that handles merging className objects, where each key in each object references a classList (or a nested class object).
*/
export declare function cxDeep<T extends ClassObject = ClassObject>(...objects: T[]): T;