import React from "react"; import Dialog from "@material-ui/core/Dialog"; import Draggable from "react-draggable"; import {Paper, styled, withWidth} from "@material-ui/core"; import {MyDialogProps} from "../entity"; import {CloseDialog} from "./CloseDialog"; const EditDialogPaper=styled(Paper)({ maxWidth:1000 }) /** * 我的弹窗 */ export class MyDialog extends React.Component{ render() { return ( } aria-labelledby={this.props.titleId} classes={{paper:"w-100"}} > this.props.onClose()} titleId={this.props.titleId}/>
{this.props.content}
); } }