1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { Modal } from 'react-bootstrap';
4 import { useTranslation } from 'react-i18next';
6 import Form from './Form';
7 import LanguageSwitcher from '../app/LanguageSwitcher';
16 const { t } = useTranslation();
18 return <Modal onHide={onHide} show={show} size="lg">
19 <Modal.Header closeButton>
23 <div className="mx-3">
37 content: PropTypes.shape({
39 language: PropTypes.string,
40 onHide: PropTypes.func,
41 onSubmit: PropTypes.func,
45 export default Dialog;