import React, { Dispatch } from 'react'; import { DropdownAction } from './DropdownState'; export interface DropdownContextProps { activeKey?: string | number; onSelect?: (eventKey: string | undefined, event: React.SyntheticEvent) => void; hasSelectedItem?: boolean; dispatch?: Dispatch; } declare const DropdownContext: React.Context; export default DropdownContext;