@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
10 lines (9 loc) • 417 B
TypeScript
import { type Dict } from "../utils";
import type { SystemStyleObject } from "./css.types";
import type { SystemContext } from "./types";
type CssFnOptions = Pick<SystemContext, "conditions"> & {
normalize: (styles: Dict) => Dict;
transform: (prop: string, value: any) => Dict | undefined;
};
export declare function createCssFn(context: CssFnOptions): (...styleArgs: SystemStyleObject[]) => Dict;
export {};