28 lines
519 B
Markdown
28 lines
519 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`
|
|
|
|
- **Required**
|
|
- 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.
|
|
|