Skip to content

Commit

Permalink
Merge pull request #179 from maxobaxo/add-color-utils-for-components
Browse files Browse the repository at this point in the history
feat(button): add props.color option 'white'
  • Loading branch information
kopax authored Dec 28, 2019
2 parents b9bf680 + 35cf344 commit 26535d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const propTypes = {
'info',
'warning',
'danger',
'white',
]),
/** Use that property to pass a ref callback to the native button component. */
ref: PropTypes.func,
Expand Down Expand Up @@ -264,7 +265,7 @@ const Button = styled(ButtonUnstyled)`
props.theme['$btn-danger-border'],
props.theme['$btn-disabled-opacity'],
)}
`}
`}
`;

Button.defaultProps = defaultProps;
Expand Down

0 comments on commit 26535d4

Please sign in to comment.