@@ -65,21 +65,21 @@ Online preview: https://slider.react-component.vercel.app/
6565| ` ariaLabelForHandle ` | string \| string[ ] | - | ` aria-label ` for handle elements. |
6666| ` ariaLabelledByForHandle ` | string \| string[ ] | - | ` aria-labelledby ` for handle elements. |
6767| ` ariaRequired ` | boolean | - | ` aria-required ` for handle elements. |
68- | ` ariaValueTextFormatterForHandle ` | ` (value: number) => string ` \| Array function | - | Formatter for ` aria-valuetext ` . |
68+ | ` ariaValueTextFormatterForHandle ` | ` (( value: number) => string) \| ((value: number) => string)[] ` | - | Formatter for ` aria-valuetext ` . |
6969| ` autoFocus ` | boolean | - | Focus the slider on mount. |
7070| ` className ` | string | - | Additional class name. |
71- | ` classNames ` | Partial<Record<'tracks' \| 'track' \| 'rail' \| 'handle', string>> | - | Semantic class names for internal slots. |
71+ | ` classNames ` | ` Partial<Record<'tracks' \| 'track' \| 'rail' \| 'handle', string>> ` | - | Semantic class names for internal slots. |
7272| ` count ` | number | - | Deprecated. Use ` range.minCount ` or ` range.maxCount ` . |
7373| ` defaultValue ` | number \| number[ ] | - | Initial value. |
7474| ` disabled ` | boolean \| boolean[ ] | false | Disable all handles or specific handles. |
75- | ` dots ` | boolean | false | Show dots when ` step ` is greater than 1 . |
75+ | ` dots ` | boolean | false | Show dots at each valid step position . |
7676| ` dotStyle ` | React.CSSProperties \| ` (dotValue: number) => React.CSSProperties ` | - | Style for dots. |
7777| ` handleRender ` | ` HandlesProps['handleRender'] ` | - | Custom handle renderer. |
7878| ` handleStyle ` | React.CSSProperties \| React.CSSProperties[ ] | - | Deprecated. Use ` styles.handle ` . |
7979| ` id ` | string | - | Root id. |
8080| ` included ` | boolean | true | Whether the track is rendered as a continuous selected interval. |
8181| ` keyboard ` | boolean | true | Enable keyboard interaction. |
82- | ` marks ` | Record<string \| number, ReactNode \| MarkObj> | - | Slider marks. |
82+ | ` marks ` | ` Record<string \| number, ReactNode \| MarkObj> ` | - | Slider marks. |
8383| ` max ` | number | 100 | Maximum value. |
8484| ` min ` | number | 0 | Minimum value. |
8585| ` onAfterChange ` | ` (value) => void ` | - | Deprecated. Use ` onChangeComplete ` . |
@@ -96,7 +96,7 @@ Online preview: https://slider.react-component.vercel.app/
9696| ` startPoint ` | number | ` min ` | Start point for a single-value track. |
9797| ` step ` | number \| null | 1 | Step size. Use ` null ` to use marks as steps. |
9898| ` style ` | React.CSSProperties | - | Root style. |
99- | ` styles ` | Partial<Record<'tracks' \| 'track' \| 'rail' \| 'handle', React.CSSProperties>> | - | Semantic styles for internal slots. |
99+ | ` styles ` | ` Partial<Record<'tracks' \| 'track' \| 'rail' \| 'handle', React.CSSProperties>> ` | - | Semantic styles for internal slots. |
100100| ` tabIndex ` | number \| number[ ] | 0 | Handle tab index. |
101101| ` track ` | boolean | - | Whether to render track elements. |
102102| ` trackStyle ` | React.CSSProperties \| React.CSSProperties[ ] | - | Deprecated. Use ` styles.track ` . |
0 commit comments