F

InputRow

A settings row, Discord's way: the label, and the saved text trailing (masked when secret). Pressing it opens Discord's dialog with the focused input, its description and error, which saves only on Save.

function InputRow(props: InputRowProps): ReactElement

Parameters

NameTypeDescription
propsInputRowProps

The row's label, saved text, variant, validation and change handler.

Returns

ReactElement

The row.