TextLabelProps
See source codeTable of contents
interface TextLabelProps {}
Properties
align
bounds
optional
bounds?: Box
classNamePrefix
optional
classNamePrefix?: string
fill
optional
fill?: TLDefaultFillStyle
font
font: TLDefaultFontStyle
fontSize
fontSize: number
id
id: TLShapeId
isNote
optional
isNote?: boolean
isSelected
isSelected: boolean
labelColor
labelColor: string
lineHeight
lineHeight: number
padding
optional
padding?: number
style
optional
style?: React.CSSProperties
text
text: string
textHeight
optional
textHeight?: number
textWidth
optional
textWidth?: number
type
type: string
verticalAlign
verticalAlign: TLDefaultVerticalAlignStyle
wrap
optional
wrap?: boolean
Methods
onKeyDown
optional
Parameters
Name | Description |
---|---|
|
|
Returns
void
Prev
StylePickerSetPropsNext
ThemeStylePickerSetProps