ToolbarButton

{ label, icon*, name*, onClick, attributes*, setAttributes* }
/**
* @param {string} [label] - Component label.
* @param {JSX.Element} icon - Component icon.
* @param {string} name - Attribute name.
* @param {function} [onClick] - Function called when the button is clicked.
* @param {object} attributes - Object containing block attributes.
* @param {function} setAttributes - Function to set new block attribute values.
*/Last updated