Skip to content

Commit

Permalink
Update toolbar documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
renatho committed Jan 20, 2021
1 parent 3154c0c commit 6a94e1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/blocks/editor-components/toolbar-dropdown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ import classnames from 'classnames';
* @param {DropdownOption[]} props.options Dropdown options.
* @param {string} [props.optionsLabel] Options label.
* @param {Object} props.icon Icon for the toolbar.
* @param {string} props.value Current value.
* @param {Function} props.onChange Change function.
* @param {string} props.value Current dropdown value.
* @param {Function} props.onChange Dropdown change callback, which receive
* the new value as argument.
*/
const ToolbarDropdown = ( {
options,
Expand Down

0 comments on commit 6a94e1e

Please sign in to comment.