Skip to content
On this page

Home > @plaidev/karte-action-sdk > ButtonProps

ButtonProps type

Signature:

typescript
type ButtonProps = CommonProps & ClickableProps & BorderProps & {
    label?: string;
    size?: keyof typeof BUTTON_SIZE;
    theme?: keyof typeof BUTTON_THEME;
    round?: keyof typeof BUTTON_ROUND;
    isLink?: boolean;
    isIcon?: boolean;
    linkUrl?: string;
    linkTarget?: keyof typeof BUTTON_LINK_TARGET;
    iconVariant?: string;
    iconAngle?: keyof typeof BUTTON_ICON_ANGLE;
    width?: Properties["width"];
    wrap?: "wrap" | "nowrap";
    fontWeight?: Properties["fontWeight"];
    color?: Properties["color"];
    backgroundColor?: Properties["backgroundColor"];
};

References: CommonProps, ClickableProps, BorderProps, BUTTON_SIZE, BUTTON_THEME, BUTTON_ROUND, BUTTON_LINK_TARGET, BUTTON_ICON_ANGLE