Appearance
Home > @plaidev/karte-action-sdk > VariantDefinition
VariantDefinition type
Signature:
typescript
type VariantDefinition<Props extends object = object, Meta extends object = object> = {
name: string;
description?: string;
getProps: (brandKit?: BrandKit) => VariantStyles<Props>;
meta?: Meta;
};
References: BrandKit, VariantStyles