@nex-ui/system
Version:
A lightweight and performant styling library based on Emotion, focusing on component architecture and developer experience.
6 lines (3 loc) • 538 B
TypeScript
import { SlotGroups, SlotRecipeRuntimeFn, SlotVariantGroups, MergeSlots, SlotRecipeConfig, MergeVariants } from './types.js';
declare function defineSlotRecipe<Slots extends SlotGroups, RuntimeFn extends SlotRecipeRuntimeFn | undefined = undefined, Variants extends SlotVariantGroups<MergeSlots<Slots, RuntimeFn>> = SlotVariantGroups<MergeSlots<Slots, RuntimeFn>>>(config: SlotRecipeConfig<Slots, RuntimeFn, Variants>): SlotRecipeRuntimeFn<MergeSlots<Slots, RuntimeFn>, MergeVariants<Variants, RuntimeFn>>;
export { defineSlotRecipe };