mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
material-ui - update to new dialog usage.
This commit is contained in:
Vendored
+5
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for material-ui v0.13.1
|
||||
// Type definitions for material-ui v0.13.4
|
||||
// Project: https://github.com/callemall/material-ui
|
||||
// Definitions by: Nathan Brown <https://github.com/ngbrown>, Oliver Herrmann <https://github.com/herrmanno>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -379,14 +379,18 @@ declare namespace __MaterialUI {
|
||||
openImmediately?: boolean;
|
||||
repositionOnUpdate?: boolean;
|
||||
title?: React.ReactNode;
|
||||
defaultOpen?: boolean;
|
||||
open?: boolean;
|
||||
|
||||
onClickAway?: () => void;
|
||||
onDismiss?: () => void;
|
||||
onShow?: () => void;
|
||||
onRequestClose?: (buttonClicked: boolean) => void;
|
||||
}
|
||||
export class Dialog extends React.Component<DialogProps, {}> {
|
||||
dismiss(): void;
|
||||
show(): void;
|
||||
isOpen(): boolean;
|
||||
}
|
||||
|
||||
interface DropDownIconProps extends React.Props<DropDownIcon> {
|
||||
|
||||
Reference in New Issue
Block a user