Replaced onActionTouchTap w/ onActionClick

Snackbar property `onActionTouchTap` was replaced with `onActionClick` in [release 0.20.0](https://github.com/mui-org/material-ui/releases/tag/v0.20.0).

This relates to [pull request 9058](https://github.com/mui-org/material-ui/pull/9058) and specifically [this commit](bc97082dd3).
This commit is contained in:
devuxer
2017-12-06 22:27:40 -08:00
committed by GitHub
parent b13b82c214
commit e9538b2994

View File

@@ -1628,7 +1628,7 @@ declare namespace __MaterialUI {
className?: string;
contentStyle?: React.CSSProperties;
message: React.ReactNode;
onActionTouchTap?: React.TouchEventHandler<{}>;
onActionClick?: React.MouseEventHandler<{}>;
onRequestClose?(reason: string): void;
open: boolean;
style?: React.CSSProperties;
@@ -1684,7 +1684,7 @@ declare namespace __MaterialUI {
bodyStyle?: React.CSSProperties;
className?: string;
message: string | JSX.Element;
onActionTouchTap?: React.TouchEventHandler<{}>;
onActionClick?: React.MouseEventHandler<{}>;
/** @deprecated Use the open property to control the component instead */
onDismiss?(): void; // DEPRECATED
onRequestClose(reason: string): void;