You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
445 B
25 lines
445 B
import { Modal } from 'antd'; |
|
|
|
interface Props { |
|
title: string; |
|
message: string; |
|
} |
|
|
|
export default function FatalErrorStateModal(props: Props) { |
|
const { title, message } = props; |
|
|
|
return ( |
|
<Modal |
|
title={title} |
|
visible |
|
footer={null} |
|
closable={false} |
|
keyboard={false} |
|
width={900} |
|
centered |
|
className="modal" |
|
> |
|
<p style={{ fontSize: '1.3rem' }}>{message}</p> |
|
</Modal> |
|
); |
|
}
|
|
|