mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
[material-ui] Snackbar optional onRequestClose (#13179)
Make `Snackbar`'s `onRequestClose` property optional. See [here](https://github.com/callemall/material-ui/blob/master/src/Snackbar/Snackbar.js#L90) for more details.
This commit is contained in:
committed by
Masahiro Wakame
parent
9d32e229ba
commit
99dc0a40f9
2
material-ui/index.d.ts
vendored
2
material-ui/index.d.ts
vendored
@@ -1496,7 +1496,7 @@ declare namespace __MaterialUI {
|
||||
contentStyle?: React.CSSProperties;
|
||||
message: React.ReactNode;
|
||||
onActionTouchTap?: React.TouchEventHandler<{}>;
|
||||
onRequestClose: (reason: string) => void;
|
||||
onRequestClose?: (reason: string) => void;
|
||||
open: boolean;
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user