import React from "react"; import { Button, Modal } from "react-bootstrap"; import { FormattedMessage } from "react-intl"; export interface IAlertModalProps { text: JSX.Element | string; show?: boolean; confirmButtonText?: string; onConfirm: () => void; onCancel: () => void; } export const AlertModal: React.FC = ({ text, show, confirmButtonText, onConfirm, onCancel, }) => { return ( {text} ); };