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
defaultValue?
numberThe value the slider marks on its track.
end?
booleanWhether the row ends its group's card, when it is not in a TableRowGroup.
formatValue?
(value: number) => stringFormats the value shown right of the label; no value is shown when omitted.
label
stringThe title, drawn left of the formatted value.
minValue?
numberThe lowest value; 0 when omitted.
onChange?
(value: number) => voidCalled with each value while dragging.
start?
booleanWhether the row starts its group's card, when it is not in a TableRowGroup.
value
numberThe value the slider starts at and follows.