Skip to content

Commit

Permalink
fix(Paper): add ability to override tagName
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxuoz committed Jun 13, 2019
1 parent 0948342 commit 53b6089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Paper/Paper.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function Paper({
children,
...rest
}: PaperProps) {
return <PaperTag { ...rest } tagName="div">{ children }</PaperTag>;
return <PaperTag tagName="div" { ...rest }>{ children }</PaperTag>;
}

Paper.defaultProps = {
Expand Down

0 comments on commit 53b6089

Please sign in to comment.