StyleConfig
interface StyleConfig <Variants, BaseVariants = {}> {
base?: StyleToken;
defaults?: DefaultVariants<Variants & BaseVariants>;
label?: string;
props?: Variants & [variant in keyof BaseVariants]?: [key in keyof BaseVariants[variant]]?: StyleToken;
when?: [When<Variants & BaseVariants>, StyleToken][];
}§Properties
§
base?: StyleToken
[src]§
defaults?: DefaultVariants<Variants & BaseVariants>
[src]§
props?: Variants & [variant in keyof BaseVariants]?: [key in keyof BaseVariants[variant]]?: StyleToken
[src]§
when?: [When<Variants & BaseVariants>, StyleToken][]
[src]