RichTextLabelProps

See source code
Table of contents
interface RichTextLabelProps {}

Properties

align


bounds

optional
bounds?: Box

classNamePrefix

optional
classNamePrefix?: string

fill

optional

font


fontSize

fontSize: number

isNote

optional
isNote?: boolean

isSelected

isSelected: boolean

labelColor

labelColor: string

lineHeight

lineHeight: number

padding

optional
padding?: number

richText

optional
richText?: TLRichText

shapeId

shapeId: TLShapeId

style

optional
style?: React.CSSProperties

textHeight

optional
textHeight?: number

textWidth

optional
textWidth?: number

type

type: string

verticalAlign


wrap

optional
wrap?: boolean

Methods

onKeyDown

optional

Parameters

NameDescription

e

KeyboardEvent

Returns

void

Prev
PlainTextLabelProps
Next
StylePickerSetProps