Skip to content

Commit

Permalink
Merge pull request #10 from materialr/fix/class-name
Browse files Browse the repository at this point in the history
fix: add className and id to destructured props
  • Loading branch information
hvolschenk committed Jun 8, 2018
2 parents dfbf98f + 81c049a commit a271660
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ class Switch extends React.Component {
getId,
props: {
checked,
className,
disabled,
id,
label,
name,
onBlur,
Expand Down

0 comments on commit a271660

Please sign in to comment.