F

SwitchRow

A settings row with a switch, Discord's TableSwitchRow.

function SwitchRow(props: SwitchRowProps): ReactElement

Parameters

NameTypeDescription
propsSwitchRowProps

The row's label, value, change handler and icon.

Returns

ReactElement

The row.