Skip to content
On this page

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

LayerTextProps type

Signature:

typescript
type LayerTextProps = CommonProps & BorderProps & RadiusProps & BackgroundColorProps & WithIconProps & LinkProps & ClickableProps & PaddingProps & {
    content: string;
    theme?: keyof typeof TEXT_THEME;
    size?: keyof typeof LAYER_TEXT_SIZE;
    align?: Properties["textAlign"];
    fontStyle?: Properties["fontStyle"];
    fontSize?: Properties["fontSize"];
    fontWeight?: Properties["fontWeight"];
    fontFamily?: string;
    lineHeight?: number;
    color?: Properties["color"];
    width?: Properties["width"];
};

References: CommonProps, BorderProps, RadiusProps, BackgroundColorProps, WithIconProps, LinkProps, ClickableProps, PaddingProps, TEXT_THEME, LAYER_TEXT_SIZE