|
|
@ -1,6 +1,7 @@
|
|
|
|
import * as React from 'react';
|
|
|
|
import * as React from 'react';
|
|
|
|
|
|
|
|
|
|
|
|
import Dialog from '@material-ui/core/Dialog';
|
|
|
|
import Dialog from '@material-ui/core/Dialog';
|
|
|
|
|
|
|
|
import DialogTitle from '@material-ui/core/DialogTitle';
|
|
|
|
import DialogContent from '@material-ui/core/DialogContent';
|
|
|
|
import DialogContent from '@material-ui/core/DialogContent';
|
|
|
|
import DialogActions from '@material-ui/core/DialogActions';
|
|
|
|
import DialogActions from '@material-ui/core/DialogActions';
|
|
|
|
import Button from '@material-ui/core/Button';
|
|
|
|
import Button from '@material-ui/core/Button';
|
|
|
@ -9,6 +10,7 @@ import { pure } from 'recompose';
|
|
|
|
|
|
|
|
|
|
|
|
export default pure((_props: any) => {
|
|
|
|
export default pure((_props: any) => {
|
|
|
|
const {
|
|
|
|
const {
|
|
|
|
|
|
|
|
title,
|
|
|
|
children,
|
|
|
|
children,
|
|
|
|
onCancel,
|
|
|
|
onCancel,
|
|
|
|
onOk,
|
|
|
|
onOk,
|
|
|
@ -21,6 +23,9 @@ export default pure((_props: any) => {
|
|
|
|
onClose={onCancel}
|
|
|
|
onClose={onCancel}
|
|
|
|
{...props}
|
|
|
|
{...props}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
|
|
|
|
<DialogTitle>
|
|
|
|
|
|
|
|
{title}
|
|
|
|
|
|
|
|
</DialogTitle>
|
|
|
|
<DialogContent>
|
|
|
|
<DialogContent>
|
|
|
|
{children}
|
|
|
|
{children}
|
|
|
|
</DialogContent>
|
|
|
|
</DialogContent>
|
|
|
|