From ad6ae77e6d53256527d8a561fdbf9324ddbd8cb2 Mon Sep 17 00:00:00 2001 From: devuxer Date: Fri, 8 Dec 2017 09:13:52 -0800 Subject: [PATCH] Replaced TouchTap w/ Click in Snackbar --- types/material-ui/material-ui-tests.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/material-ui/material-ui-tests.tsx b/types/material-ui/material-ui-tests.tsx index ab1abc4577..3187188e99 100644 --- a/types/material-ui/material-ui-tests.tsx +++ b/types/material-ui/material-ui-tests.tsx @@ -5736,7 +5736,7 @@ class SnackbarExampleAction extends Component<{}, {open?: boolean, autoHideDurat }); } - handleActionTouchTap = () => { + handleActionClick = () => { this.setState({ open: false, }); @@ -5774,7 +5774,7 @@ class SnackbarExampleAction extends Component<{}, {open?: boolean, autoHideDurat message={this.state.message} action="undo" autoHideDuration={this.state.autoHideDuration} - onActionTouchTap={this.handleActionTouchTap} + onActionClick={this.handleActionClick} onRequestClose={this.handleRequestClose} />