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

IconSet property in Drawer items #465

Open
RakouskyS opened this issue Nov 25, 2019 · 0 comments
Open

IconSet property in Drawer items #465

RakouskyS opened this issue Nov 25, 2019 · 0 comments

Comments

@RakouskyS
Copy link

Components like the Button have a property called 'iconSet' which in combination with 'icon' returns the right icon.
For the drawer items in section, you only have the 'icon' property which is missing lots of important icons.

Passing an component instead of a string as the icon produces a warning.

A solution to this would either be allowing an object to be passed in proptypes, or implement the iconSet exactly like on the button component.

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

No branches or pull requests

1 participant