UNPKG

1.12 kBTypeScriptView Raw
1import * as React from 'react';
2import { OUIAProps } from '../../helpers';
3export declare enum DropdownPosition {
4 right = "right",
5 left = "left"
6}
7export declare enum DropdownDirection {
8 up = "up",
9 down = "down"
10}
11export declare const DropdownContext: React.Context<{
12 onSelect?: (event?: any) => void;
13 id?: string;
14 toggleIndicatorClass?: string;
15 toggleIconClass?: string;
16 toggleTextClass?: string;
17 menuClass?: string;
18 itemClass?: string;
19 toggleClass?: string;
20 baseClass?: string;
21 baseComponent?: string;
22 sectionClass?: string;
23 sectionTitleClass?: string;
24 sectionComponent?: string;
25 disabledClass?: string;
26 plainTextClass?: string;
27 menuComponent?: string;
28 ouiaComponentType?: string;
29 alignments?: {
30 sm?: 'right' | 'left';
31 md?: 'right' | 'left';
32 lg?: 'right' | 'left';
33 xl?: 'right' | 'left';
34 '2xl'?: 'right' | 'left';
35 };
36} & OUIAProps>;
37export declare const DropdownArrowContext: React.Context<{
38 keyHandler: any;
39 sendRef: any;
40}>;
41//# sourceMappingURL=dropdownConstants.d.ts.map
\No newline at end of file