Skip to content

Commit ff0dfce

Browse files
Migrate to function component & Bump dependencies
1 parent a5c71f2 commit ff0dfce

File tree

7 files changed

+2465
-792
lines changed

7 files changed

+2465
-792
lines changed

docs/src/App.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ class App extends Component {
8383
iconResting={<MdAdd style={{ fontSize: 20 }} nativeColor="white" />}
8484
iconActive={<MdClose style={{ fontSize: 20 }} nativeColor="white" />}
8585
background="linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)"
86-
onClick={() => this.setState({ isOpen: !this.state.isOpen })}
86+
onClick={() => {
87+
this.setState({ isOpen: !this.state.isOpen });
88+
console.log('clicked');
89+
}}
8790
size={56}
8891
/>
8992
<ChildButton

0 commit comments

Comments
 (0)