Skip to content

Fix unknown props warning on Button#70

Open
ryelle wants to merge 1 commit into
masterfrom
fix/button-prop-warning
Open

Fix unknown props warning on Button#70
ryelle wants to merge 1 commit into
masterfrom
fix/button-prop-warning

Conversation

@ryelle

@ryelle ryelle commented Nov 14, 2016

Copy link
Copy Markdown
Contributor

If compact, primary, etc are passed down to the HTML element, React throws a warning about unknown props. See React docs

This fixes this issue for the Button component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant