tss-react-v18-peer-testing
Version:
makeStyles is dead, long live makeStyles!
13 lines (12 loc) • 554 B
TypeScript
import type { CSSObject } from "./tools/types/CSSObject";
export type { CSSObject };
import type { CSSInterpolation } from "./tools/types/CSSObject";
export type { CSSInterpolation };
export interface Css {
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
(...args: CSSInterpolation[]): string;
}
import { CxArg } from "./tools/classnames";
export { CxArg };
export declare type Cx = (...classNames: CxArg[]) => string;
export declare function matchCSSObject(arg: TemplateStringsArray | CSSInterpolation): arg is CSSObject;