Skip to content

Try gutenberg more menu plugin filter#9066

Closed
igorschoester wants to merge 2 commits intotrunkfrom
stories/try-gutenberg-more-menu-plugin-filter
Closed

Try gutenberg more menu plugin filter#9066
igorschoester wants to merge 2 commits intotrunkfrom
stories/try-gutenberg-more-menu-plugin-filter

Conversation

@igorschoester
Copy link
Copy Markdown
Contributor

DO NOT MERGE

This branch shows how the more menu API from WordPress/gutenberg#5161 can be used.

<IconButton
className="components-menu-items__button components-menu-items__button components-icon-button components-menu-item-plugins__button has-icon"
icon={
<div className="components-menu-item-plugins__icon-container" >
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider this is not valid HTML. Buttons can't contain div elements. Maybe consider to add a className to the icon and style that instead?

@igorschoester igorschoester deleted the stories/try-gutenberg-more-menu-plugin-filter branch May 1, 2018 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants