diff --git a/docs/pages/api/slider.md b/docs/pages/api/slider.md index 6b653336e4a71a..f0923818758534 100644 --- a/docs/pages/api/slider.md +++ b/docs/pages/api/slider.md @@ -41,7 +41,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi | onChange | func | | Callback function that is fired when the slider's value changed.

**Signature:**
`function(event: object, value: any) => void`
*event:* The event source of the callback.
*value:* The new value. | | onChangeCommitted | func | | Callback function that is fired when the `mouseup` is triggered.

**Signature:**
`function(event: object, value: any) => void`
*event:* The event source of the callback.
*value:* The new value. | | orientation | 'horizontal'
| 'vertical'
| 'horizontal' | The slider orientation. | -| step | number | 1 | The granularity with which the slider can step through values. (A "discrete" slider.) When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop. | +| step | number | 1 | The granularity with which the slider can step through values. (A "discrete" slider.) The `min` prop serves as the origin for the valid values. We recommend (max - min) to be evenly divisible by the step.
When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop. | | ThumbComponent | elementType | 'span' | The component used to display the value label. | | track | 'normal'
| false
| 'inverted'
| 'normal' | The track presentation:
- `normal` the track will render a bar representing the slider value. - `inverted` the track will render a bar representing the remaining slider value. - `false` the track will render without a bar. | | value | number
| Array
| | The value of the slider. For ranged sliders, provide an array with two values. |