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