F
SliderRow
A settings row with Discord's form slider, as its own settings draw one: the label, then the slider with its value label and default mark. The value updates while dragging and 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>> | nullParameters
| Name | Type | Description |
|---|---|---|
| props | SliderRowProps | The row's label, value, default, range and change handler. |
Returns
ReactElement<unknown, string | JSXElementConstructor<any>> | nullThe row, or null when Discord's slider is unavailable.