mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
material-ui: changed type of property "message" of SnackbarProps (#9132)
* Updated material-ui.d.ts Added DOMAttributes to FlatButton and Dialog properties. * material-ui: changed type of property "message" of SnackbarProps
This commit is contained in:
committed by
Masahiro Wakame
parent
03c232c180
commit
d617eb54e5
2
material-ui/material-ui.d.ts
vendored
2
material-ui/material-ui.d.ts
vendored
@@ -1434,7 +1434,7 @@ declare namespace __MaterialUI {
|
||||
autoHideDuration?: number;
|
||||
bodyStyle?: React.CSSProperties;
|
||||
className?: string;
|
||||
message: string;
|
||||
message: string | JSX.Element;
|
||||
onActionTouchTap?: React.TouchEventHandler;
|
||||
/** @deprecated Use the open property to control the component instead */
|
||||
onDismiss?: () => void; // DEPRECATED
|
||||
|
||||
Reference in New Issue
Block a user