DropdownToggle
API
import DropdownToggle from 'react-overlays/DropdownToggle'Also exported as <Dropdown.Toggle> from Dropdown.
childrenrequired
A render prop that returns a Toggle element. The props
argument should spread through to a component that can accept a ref. Use
the onToggle argument to toggle the menu open or closed
type:{Function ({
show: boolean,
toggle: (show: boolean) => void,
props: {
ref: (?HTMLElement) => void,
aria-haspopup: true
aria-expanded: boolean
},
}) => React.Element}