Skip to content

Commit

Permalink
fix(atoms): fix button rest props
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxuoz committed Jul 23, 2018
1 parent 05d7bfd commit 8bb8c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atoms/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,11 @@ class Button extends Component<ButtonProps> {

return (
<StyledTag
{ ...rest }
tagName="button"
type={ type }
loading={ loading }
onClick={ this.onClick }
{ ...rest }
>
{ children || text }
</StyledTag>
Expand Down

0 comments on commit 8bb8c93

Please sign in to comment.