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 ApplyForm from './ApplyForm';
15 const { t } = useTranslation();
17 return <Modal className="apply-dialog" onHide={onHide} show={show}>
18 <Modal.Header closeButton>
20 {t('episodes.applyDialog.title')}
32 ApplyDialog.propTypes = {
34 episode: PropTypes.shape({
36 onHide: PropTypes.func,
37 onSubmit: PropTypes.func,
41 export default ApplyDialog;