Skip to content

Commit

Permalink
Migrate to function component & Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ifndefdeadmau5 committed Oct 27, 2019
1 parent a5c71f2 commit ff0dfce
Show file tree
Hide file tree
Showing 7 changed files with 2,465 additions and 792 deletions.
5 changes: 4 additions & 1 deletion docs/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ class App extends Component {
iconResting={<MdAdd style={{ fontSize: 20 }} nativeColor="white" />}
iconActive={<MdClose style={{ fontSize: 20 }} nativeColor="white" />}
background="linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)"
onClick={() => this.setState({ isOpen: !this.state.isOpen })}
onClick={() => {
this.setState({ isOpen: !this.state.isOpen });
console.log('clicked');
}}
size={56}
/>
<ChildButton
Expand Down
Loading

0 comments on commit ff0dfce

Please sign in to comment.