CheckboxDataGridDemoDropDownDefault propsPropsBasic usageInlineAnchorMlMenuNotesReadmeSelect

DropDown

This is a general purpose collapsible dropdown (use it for dropdown list box (select), navigation drop down list...)

Default props

Pass some content in the `box` props of DropDown

Props

inline
boolean
false
style
CSSStyleDeclaration
{}
menuStyle
CSSStyleDeclaration
{}
onChange
Function
(isOpen: bool, eventOrUndefined: Event) => {}
open
boolean
undefined
defaultOpen
boolean
undefined
anchor
'center' | 'left' | 'right'
'center'
trigger
ReactNode
'•••'
box
ReactNode
'Pass some content in the `box` props of DropDown'
light
bool
false

Basic usage

Box content

Inline

Lorem ipsum

Foo

Lorem ipsum

Anchor

not applicable when using inline

Lorem ipsum

foobar

Lorem ipsum

foobar

Lorem ipsum