Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try gutenberg more menu plugin filter #9066

Closed

Conversation

igorschoester
Copy link
Member

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