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

[AccessibleFakeButton] IconSeparator is not accepted as a component prop #808

Closed
luisrudge opened this issue Oct 12, 2018 · 1 comment
Closed
Labels
Milestone

Comments

@luisrudge
Copy link
Contributor

luisrudge commented Oct 12, 2018

Description

Using the IconSeparator component fails the propTypes validation:

Warning: Failed prop type: Invalid prop `component` supplied to `AccessibleFakeButton`.

Link to a gist or code sample where the issue can be reproduced

https://codesandbox.io/s/pjjpmw7zv7

You have to click the dropdown to trigger the error

Example extracted from here: https://github.com/mlaursen/react-md/blob/master/docs/src/components/Components/Menus/DropdownMenuExamples/AccountMenu.jsx

@mlaursen
Copy link
Owner

This should now be fixed in v1.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants