F

SegmentedRow

A settings row with Discord's SegmentedControl under its label, as Discord's own settings draw one, for two to four short options. A value changed elsewhere moves the control along with it.

function SegmentedRow(props: SegmentedRowProps): ReactElement

Parameters

NameTypeDescription
propsSegmentedRowProps

The row's label, picked value, options and change handler.

Returns

ReactElement

The row.