import React from 'react'; import ReactModal from 'react-modal'; import '../../style/dialog-component-style.css'; import '../../style/output-components-style.css'; export interface DialogComponentProps { title: string; onCloseDialog: () => void; isOpen: boolean; } export abstract class AbstractDialogComponent

extends React.Component { constructor(props: P) { super(props); } render(): React.ReactNode { return (

{ e.preventDefault(); }} >
{this.props.title}
{this.renderDialogBody()}
{this.renderFooter()}
); } protected abstract renderDialogBody(): React.ReactElement; protected abstract renderFooter(): React.ReactElement; }