1 | import * as React from 'react';
|
2 | export var DropdownPosition;
|
3 | (function (DropdownPosition) {
|
4 | DropdownPosition["right"] = "right";
|
5 | DropdownPosition["left"] = "left";
|
6 | })(DropdownPosition || (DropdownPosition = {}));
|
7 | export var DropdownDirection;
|
8 | (function (DropdownDirection) {
|
9 | DropdownDirection["up"] = "up";
|
10 | DropdownDirection["down"] = "down";
|
11 | })(DropdownDirection || (DropdownDirection = {}));
|
12 | export const DropdownContext = React.createContext({
|
13 |
|
14 | onSelect: (event) => undefined,
|
15 | id: '',
|
16 | toggleIndicatorClass: '',
|
17 | toggleIconClass: '',
|
18 | toggleTextClass: '',
|
19 | menuClass: '',
|
20 | itemClass: '',
|
21 | toggleClass: '',
|
22 | baseClass: '',
|
23 | baseComponent: 'div',
|
24 | sectionClass: '',
|
25 | sectionTitleClass: '',
|
26 | sectionComponent: 'section',
|
27 | disabledClass: '',
|
28 | plainTextClass: '',
|
29 | menuComponent: 'ul'
|
30 | });
|
31 | export const DropdownArrowContext = React.createContext({
|
32 | keyHandler: null,
|
33 | sendRef: null
|
34 | });
|
35 |
|
\ | No newline at end of file |