1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { Modal } from 'react-bootstrap';
4 import { withTranslation } from 'react-i18next';
6 import EditForm from './EditForm';
7 import i18n from '../../i18n';
14 <Modal className="edit-dialog" onHide={onHide} show={show}>
15 <Modal.Header closeButton>
17 {i18n.t('rounds.edit')}
26 EditDialog.propTypes = {
27 onHide: PropTypes.func,
28 round: PropTypes.shape({
31 tournament: PropTypes.shape({
35 export default withTranslation()(EditDialog);