-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Button: attached
prop should accept true
as value
#2104
Comments
The |
Because that's how the |
Hm, seems you're right. Nice catch 👍 <div>
<Button attached='top'>Top</Button>
<Button attached>Middle</Button>
<Button attached='bottom'>Bottom</Button>
</div> This looks like valid markup. As I see we can to update |
attached
of value true
supplied to Buttonattached
prop should accept true
as value
* fix(Button): Add bool to propTypes of attached fixes #2104 * fix(ButtonGroup): handling of bool attached prop * style(ButtonGroup): Reorder some things
Steps
Add a
Button
with booleanattached
propExpected Result
No warnings
Actual Result
Warning logged:
Version
0.67.1
Testcase
https://codepen.io/anon/pen/YrGjqx?editors=1112
The text was updated successfully, but these errors were encountered: