1 | import * as React from 'react';
|
2 | import type { AriaValueFormat, Direction, SliderClassNames, SliderStyles } from './interface';
|
3 | export interface SliderContextProps {
|
4 | min: number;
|
5 | max: number;
|
6 | includedStart: number;
|
7 | includedEnd: number;
|
8 | direction: Direction;
|
9 | disabled?: boolean;
|
10 | keyboard?: boolean;
|
11 | included?: boolean;
|
12 | step: number | null;
|
13 | range?: boolean;
|
14 | tabIndex: number | number[];
|
15 | ariaLabelForHandle?: string | string[];
|
16 | ariaLabelledByForHandle?: string | string[];
|
17 | ariaValueTextFormatterForHandle?: AriaValueFormat | AriaValueFormat[];
|
18 | classNames: SliderClassNames;
|
19 | styles: SliderStyles;
|
20 | }
|
21 | declare const SliderContext: React.Context<SliderContextProps>;
|
22 | export default SliderContext;
|