moderator-toolbox-nxg-for-reddit / shared/controls/TokenChips
shared/controls/TokenChips¶
Functions¶
TokenChips()¶
TokenChips(
__namedParameters):Element
Defined in: extension/data/shared/controls/TokenChips.tsx:37
Renders a field with a row of insert-at-cursor token chips shown while it has focus.
Parameters¶
__namedParameters¶
TokenChipsProps
Returns¶
Element
Interfaces¶
TokenChipInfo¶
Defined in: extension/data/shared/controls/TokenChips.tsx:17
A token offered as a chip: its literal text and a tooltip description.
Properties¶
description¶
description:
string
Defined in: extension/data/shared/controls/TokenChips.tsx:21
What the token expands to, phrased for the chip’s tooltip.
token¶
token:
string
Defined in: extension/data/shared/controls/TokenChips.tsx:19
The literal token text including braces, e.g. {author}.