import React, {Component} from "react"; export type ModalProps = { show: boolean, positionId: number, toggleConfirmation: any } export class ClosePositionModal extends Component { constructor(props) { super(props); } render() { if (!this.props.show) { return null } return (
) } }