Skip to content

Conversation

@fforres
Copy link
Contributor

@fforres fforres commented Feb 28, 2018

On #143 I added the wrong proptype validations so this PR fixes it

Also, while using comboBox on our app, I'm getting a warning for
image

Warning: Failed prop type: The prop `appearance` is marked as required in `IconButton`, but its value is `undefined`.
    in IconButton

So this PR defines a defaultProp for <IconButton/> to be passed onto the <Button/> and allows overwriting it on <ComboBox/>

Copy link
Contributor

@jeroenransijn jeroenransijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks for the fix. Sorry for the late review 😞

@fforres
Copy link
Contributor Author

fforres commented Mar 1, 2018

:D Np

@fforres fforres merged commit 33709f1 into master Mar 1, 2018
@fforres fforres deleted the fforres/fix_warnings branch March 1, 2018 19:09
prateekgoel pushed a commit to prateekgoel/evergreen that referenced this pull request Oct 26, 2018
* Adding proper proptype vlidation

* adding watch mode for build

* Adding default appearance for icon on combobox

* Fixing newutral
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.

3 participants