Dialogs inform users about a specific task and may contain critical information, require decisions, or involve multiple tasks. Dialogs contain text and UI controls. They retain focus until dismissed or a required action has been taken. Use dialogs sparingly because they are interruptive.

To show this type of Dialogs you will need this code in down here.
<Button variant="raised" className="bg-primary text-white"
onClick={() => this.setState({open: true})}>Open alert dialog</Button>
<Dialog open={this.state.open} onClose={this.handleRequestClose}>
<DialogTitle>
{"Use Google's location service?"}
</DialogTitle>
<DialogContent>
<DialogContentText>
Let Google help apps determine location. This means sending
anonymous location data to Google, even when no apps are running.
</DialogContentText>
</DialogContent>
<DialogActions>
<Button onClick={this.handleRequestClose} color="secondary">
Disagree
</Button>
<Button onClick={this.handleRequestClose} color="primary">
Agree
</Button>
</DialogActions>
</Dialog>
| Name | Type | Default | Description |
|---|---|---|---|
| children * | node | Dialog children, usually the included sub-components. | |
| classes | object | Useful to extend the style applied to components. | |
| disableBackdropClick | bool | false | If true, clicking the backdrop will not fire the onClose callback. |
| disableEscapeKeyDown | bool | false | If true, hitting escape will not fire the onClose callback. |
| fullScreen | bool | false | If true, the dialog will be full-screen |
| fullWidth | bool | false | If true, the dialog stretches to maxWidth. |
| maxWidth | enum: 'xs' | 'sm' | 'md' | false |
'sm' | Determine the max width of the dialog. The dialog width grows with the size of the screen, this property is useful on the desktop where you might need some coherent different width size across your application. Set to false to disable maxWidth. |
| onBackdropClick | func | Callback fired when the backdrop is clicked. | |
| onClose | func | Callback fired when the component requests to be closed. Signature: function(event: object) => voidevent: The event source of the callback |
|
| onEnter | func | Callback fired before the dialog enters. | |
| onEntered | func | Callback fired when the dialog has entered. | |
| onEntering | func | Callback fired when the dialog is entering. | |
| onEscapeKeyDown | func | Callback fired when the escape key is pressed, disableKeyboard is false and the modal is in focus. |
|
| onExit | func | Callback fired before the dialog exits. | |
| onExited | func | Callback fired when the dialog has exited. | |
| onExiting | func | Callback fired when the dialog is exiting. | |
| open * | bool | If true, the Dialog is open. |
|
| PaperProps | object | Properties applied to the Paper element. |
|
| TransitionComponent | union: string | func |
Fade | Transition component. |
| transitionDuration | union: number | {enter?: number, exit?: number} |
{ enter: duration.enteringScreen, exit: duration.leavingScreen } | The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object. |
| TransitionProps | object | Properties applied to the Transition element. |