Skip to content
On this page

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