T

TableSliderRowProps

The props of Discord's TableSliderRow, read from Discord 354's design/components/TableRow/native/TableSliderRow.native.tsx. Any other prop, such as maxValue or step, goes to its Slider.

type TableSliderRowProps = { … }

Members

The value the slider marks on its track.

end?boolean

Whether the row ends its group's card, when it is not in a TableRowGroup.

formatValue?(value: number) => string

Formats the value shown right of the label; no value is shown when omitted.

labelstring

The title, drawn left of the formatted value.

minValue?number

The lowest value; 0 when omitted.

onChange?(value: number) => void

Called with each value while dragging.

start?boolean

Whether the row starts its group's card, when it is not in a TableRowGroup.

valuenumber

The value the slider starts at and follows.