--
This commit is contained in:
parent
8fcc733093
commit
231adbe93f
123 changed files with 16683 additions and 62496 deletions
21
frontend/src/components/modules/Notification.jsx
Normal file
21
frontend/src/components/modules/Notification.jsx
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import React from 'react';
|
||||
import { Modal } from 'react-bootstrap';
|
||||
|
||||
export default ({
|
||||
title, contents, show, onHide,
|
||||
}) => (
|
||||
<Modal
|
||||
show={show}
|
||||
onHide={onHide}
|
||||
>
|
||||
<Modal.Header closeButton>
|
||||
<Modal.Title className="text-center">
|
||||
{title}
|
||||
</Modal.Title>
|
||||
</Modal.Header>
|
||||
|
||||
<Modal.Body>
|
||||
{contents}
|
||||
</Modal.Body>
|
||||
</Modal>
|
||||
);
|
||||
Loading…
Reference in a new issue