F

ButtonRow

A pressable TableRow in its settings group, as Discord draws actions such as Log Out; it asks first when confirmation is set. danger draws the label red behind a red trash icon.

function ButtonRow(props: ButtonRowProps): ReactElement

Parameters

NameTypeDescription
propsButtonRowProps

The row's label, variant, confirmation and press handler.

Returns

ReactElement

The row.