1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { Button, Modal } from 'react-bootstrap';
4 import { useTranslation } from 'react-i18next';
6 const PrivacyDialog = ({
10 const { t } = useTranslation();
12 return <Modal onHide={onHide} show={show}>
13 <Modal.Header closeButton>
15 {t('privacy.heading')}
19 <p>{t('privacy.p1')}</p>
20 <p>{t('privacy.p2')}</p>
21 <p>{t('privacy.p3')}</p>
24 <Button onClick={onHide} variant="secondary">
31 PrivacyDialog.propTypes = {
32 onHide: PropTypes.func,
36 export default PrivacyDialog;