Appearance
Home > @plaidev/karte-action-sdk > LayerTextProps
LayerTextProps type
Signature:
typescript
type LayerTextProps = CommonProps & BorderProps & RadiusProps & BackgroundColorProps & PaddingProps & {
content: string;
variant?: string;
size?: keyof typeof LAYER_TEXT_SIZE;
align?: Properties["textAlign"];
fontSize?: Properties["fontSize"];
fontWeight?: Properties["fontWeight"];
lineHeight?: number;
color?: Properties["color"];
width?: Properties["width"];
};
References: CommonProps, BorderProps, RadiusProps, BackgroundColorProps, PaddingProps, LAYER_TEXT_SIZE