| 11 | |
| 12 | // Use any here since we do not get the type during compilation |
| 13 | export interface SelectContextProps { |
| 14 | options: BaseOptionType[]; |
| 15 | optionRender?: SelectProps['optionRender']; |
| 16 | flattenOptions: FlattenOptionData<BaseOptionType>[]; |
| 17 | onActiveValue: OnActiveValue; |
| 18 | defaultActiveFirstOption?: boolean; |
| 19 | onSelect: OnInternalSelect; |
| 20 | menuItemSelectedIcon?: RenderNode; |
| 21 | rawValues: Set<RawValueType>; |
| 22 | fieldNames?: FieldNames; |
| 23 | virtual?: boolean; |
| 24 | direction?: 'ltr' | 'rtl'; |
| 25 | listHeight?: number; |
| 26 | listItemHeight?: number; |
| 27 | childrenAsData?: boolean; |
| 28 | maxCount?: number; |
| 29 | } |
| 30 | |
| 31 | const SelectContext = React.createContext<SelectContextProps>(null); |
| 32 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…