DropdownMenu
API
import DropdownMenu from 'react-overlays/DropdownMenu'
Also exported as <Dropdown.Menu>
from Dropdown
.
alignEnd
Aligns the dropdown menu to the 'end' of it's placement position.
Generally this is provided by the parent Dropdown
component,
but may also be specified as a prop directly.
childrenrequired
A render prop that returns a Menu element. The props
argument should spread through to a component that can accept a ref.
flip
Enables the Popper.js flip
modifier, allowing the Dropdown to
automatically adjust it's placement in case of overlap with the viewport or toggle.
Refer to the flip docs for more info
offset
popperConfig
A set of popper options and props passed directly to react-popper's Popper component.
rootCloseEvent
Override the default event used by RootCloseWrapper.
show
Controls the visible state of the menu, generally this is
provided by the parent Dropdown
component,
but may also be specified as a prop directly.
usePopper
true