We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91e9ecb commit 8dc5fd4Copy full SHA for 8dc5fd4
src/templates/AppBar/BasicAppBar/BasicAppBar.jsx
@@ -19,7 +19,7 @@ class BasicAppBar extends React.PureComponent {
19
classes: PropTypes.shape({}),
20
title: PropTypes.string,
21
logo: PropTypes.string,
22
- onIconClick: PropTypes.func,
+ toggleLeftDrawer: PropTypes.func,
23
menuIconAlways: PropTypes.bool,
24
width: PropTypes.string,
25
};
@@ -29,7 +29,7 @@ class BasicAppBar extends React.PureComponent {
29
30
31
handleIconClick = () => {
32
- this.props.onIconClick();
+ this.props.toggleLeftDrawer();
33
34
35
renderLogo = () => {
0 commit comments