27 lines
504 B
Markdown
27 lines
504 B
Markdown
`DropdownButton` (component)
|
|
============================
|
|
|
|
A button useful for a launcher of a dropdown component. The button is 100% width of its container and displays
|
|
single or multiple lines rendered as `<span/>` elments.
|
|
|
|
@param { object } props Props passed to component.
|
|
|
|
|
|
Props
|
|
-----
|
|
|
|
### `labels`
|
|
|
|
- Type: Array
|
|
- Default: null
|
|
|
|
An array of elements to be rendered as the content of the button.
|
|
|
|
### `isOpen`
|
|
|
|
- Type: Boolean
|
|
- Default: null
|
|
|
|
Boolean describing if the dropdown in open or not.
|
|
|