@chakra-ui/react
Version:
Responsive and accessible React UI components built with React and Emotion
12 lines (11 loc) • 364 B
TypeScript
import type { RecipeCreatorFn, SlotRecipeCreatorFn } from "./recipe.types";
interface Options {
cva: RecipeCreatorFn;
}
export declare const getSlotCompoundVariant: <T extends {
css: any;
}>(compoundVariants: T[], slotName: string) => (T & {
css: any;
})[];
export declare function createSlotRecipeFn(options: Options): SlotRecipeCreatorFn;
export {};