MCPcopy
hub / github.com/react-component/slider / SliderContextProps

Interface SliderContextProps

src/context.ts:4–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import type { AriaValueFormat, Direction, SliderClassNames, SliderStyles } from './interface';
3
4export 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
24const SliderContext = React.createContext<SliderContextProps>({
25 min: 0,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected