/** * @author Martin Karkowski * @email m.karkowski@zema.de * @create date 2021-04-20 19:04:57 * @modify date 2021-04-20 19:04:57 * @desc [description] */ import React from "react"; import { Modal } from "react-bootstrap"; import DynamicRenderer from "../dynamic/dynamicRenderer"; import { IModalSettings } from "./interfaces/IModalSettings"; export class StaticPopup extends React.Component< { withoutBorder?: boolean } & IModalSettings > { /** * Create the Status to Render. * @param props */ constructor(props) { super(props); this.state = { modalVisible: true }; } render(): JSX.Element { return ( {this.props.header ? ( {this.props.header} ) : ( "" )} {this.props.withoutBorder ? ( ) : ( {/* Render the dynamic Component */} )} {this.props.footer ? ( {this.props.footer} ) : ( "" )} ); } }