woocommerce/plugins/woocommerce-admin/docs/components/dropdown-button.md

27 lines
504 B
Markdown
Raw Normal View History

`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.