Appearance
Home > @plaidev/karte-action-sdk > ButtonTextProps
ButtonTextProps type #
Signature:
typescript
type ButtonTextProps = CommonProps & ClickableProps & LinkProps & WithIconProps & {
label?: string;
// size
size?: keyof typeof BUTTON_TEXT_SIZE;
height?: Properties["height"];
paddingLeft?: Properties["paddingLeft"];
paddingRight?: Properties["paddingRight"];
fontSize?: Properties["fontSize"];
// theme
theme?: keyof typeof BUTTON_TEXT_THEME;
color?: Properties["color"];
backgroundColor?: Properties["backgroundColor"];
// others
fontWeight?: Properties["fontWeight"];
width?: Properties["width"];
round?: keyof typeof BUTTON_ROUND;
wrap?: "wrap" | "nowrap";
};
References: CommonProps, ClickableProps, LinkProps, WithIconProps, BUTTON_TEXT_SIZE, BUTTON_TEXT_THEME, BUTTON_ROUND