UNPKG

react-dropdown-aria-jesus

Version:

Simple and accessible React dropdown component

31 lines (30 loc) 858 B
/// <reference types="react" /> import { DropdownProps } from '../utils/types'; declare const Dropdown: { (props: DropdownProps): JSX.Element; defaultProps: { ariaDescribedBy: null; ariaLabel: null; ariaLabelledBy: null; ariaRequired: boolean; arrowRenderer: undefined; centerText: boolean; className: undefined; contentClassName: null; defaultOpen: boolean; disabled: boolean; height: null; hideArrow: boolean; id: null; maxContentHeight: number; openUp: boolean; optionItemRenderer: undefined; pageKeyTraverseSize: number; placeholder: string; searchable: boolean; style: {}; value: undefined; width: null; }; }; export default Dropdown;