F

ButtonRow

Discord's full-width Row Button, which runs something when pressed and asks first when confirmation is set; danger leads with 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.