import * as React from 'react'; import { CSSModule } from './index'; export type Direction = 'up' | 'down' | 'left' | 'right'; export interface DropdownProps extends React.HTMLAttributes { [key: string]: any; a11y?: boolean; disabled?: boolean; direction?: Direction; group?: boolean; isOpen?: boolean; nav?: boolean; active?: boolean; addonType?: boolean | 'prepend' | 'append'; size?: string; tag?: React.ElementType; toggle?: React.KeyboardEventHandler | React.MouseEventHandler; cssModule?: CSSModule; inNavbar?: boolean; setActiveFromChild?: boolean; } export interface UncontrolledDropdownProps extends DropdownProps { defaultOpen?: boolean; onToggle?: ( event: React.KeyboardEvent | React.MouseEvent, isOpen: boolean ) => void; } declare class Dropdown extends React.Component {} export default Dropdown;