UNPKG

758 BTypeScriptView Raw
1import * as React from 'react';
2export declare const DualListSelectorContext: React.Context<{
3 isTree?: boolean;
4}>;
5export declare const DualListSelectorListContext: React.Context<{
6 setFocusedOption?: (id: string) => void;
7 isTree?: boolean;
8 ariaLabelledBy?: string;
9 focusedOption?: string;
10 displayOption?: (option: React.ReactNode) => boolean;
11 selectedOptions?: string[] | number[];
12 id?: string;
13 onOptionSelect?: (e: React.MouseEvent | React.ChangeEvent | React.KeyboardEvent, index: number, id: string) => void;
14 options?: React.ReactNode[];
15 isDisabled?: boolean;
16}>;
17export declare const DualListSelectorPaneContext: React.Context<{
18 isChosen: boolean;
19}>;
20//# sourceMappingURL=DualListSelectorContext.d.ts.map
\No newline at end of file