F

SliderRow

Discord's TableSliderRow, as its own settings draw one: the label and live value over the slider with its default mark. A sub-label, which that row cannot show, moves it to a TableRow holding the same slider. The value is saved when the drag ends; Android's slider and iOS's take differently named props, so it passes both.

function SliderRow(props: SliderRowProps): ReactElement<unknown, string | JSXElementConstructor<any>> | null

Parameters

NameTypeDescription
propsSliderRowProps

The row's label, value, default, range and change handler.

Returns

ReactElement<unknown, string | JSXElementConstructor<any>> | null

The row, or null when Discord's slider is unavailable.