@slack/types / RichTextStyleable
Interface: RichTextStyleable
Defined in: block-kit/extensions.ts:82
Description
For use styling Rich Text sub-elements.
Extended by
RichTextBroadcastMentionRichTextColorRichTextChannelMentionRichTextDateRichTextEmojiRichTextLinkRichTextTeamMentionRichTextTextRichTextUserMentionRichTextUsergroupMention
Properties
style?
optional style?: object;
Defined in: block-kit/extensions.ts:86
bold?
optional bold?: boolean;
Description
When true, boldens the text in this element. Defaults to false.
code?
optional code?: boolean;
Description
When true, the text is preformatted in an inline code style. Defaults to `false.
italic?
optional italic?: boolean;
Description
When true, italicizes the text in this element. Defaults to false.
strike?
optional strike?: boolean;
Description
When true, strikes through the text in this element. Defaults to false.
underline?
optional underline?: boolean;
Description
When true, underlines the text in this element. Defaults to false.
Description
A limited style object for styling rich text text elements.