| 2 | import type { AriaValueFormat, Direction, SliderClassNames, SliderStyles } from './interface'; |
| 3 | |
| 4 | export interface SliderContextProps { |
| 5 | min: number; |
| 6 | max: number; |
| 7 | includedStart: number; |
| 8 | includedEnd: number; |
| 9 | direction: Direction; |
| 10 | disabled?: boolean; |
| 11 | keyboard?: boolean; |
| 12 | included?: boolean; |
| 13 | step: number | null; |
| 14 | range?: boolean; |
| 15 | tabIndex: number | number[]; |
| 16 | ariaLabelForHandle?: string | string[]; |
| 17 | ariaLabelledByForHandle?: string | string[]; |
| 18 | ariaRequired?: boolean; |
| 19 | ariaValueTextFormatterForHandle?: AriaValueFormat | AriaValueFormat[]; |
| 20 | classNames: SliderClassNames; |
| 21 | styles: SliderStyles; |
| 22 | } |
| 23 | |
| 24 | const SliderContext = React.createContext<SliderContextProps>({ |
| 25 | min: 0, |
nothing calls this directly
no outgoing calls
no test coverage detected