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 ReportForm from './ReportForm';
7 import i18n from '../../i18n';
9 const ReportDialog = ({
15 <Modal className="report-dialog" onHide={onHide} show={show}>
16 <Modal.Header closeButton>
18 {i18n.t('results.report')}
23 participant={participant}
28 ReportDialog.propTypes = {
29 onHide: PropTypes.func,
30 participant: PropTypes.shape({
32 round: PropTypes.shape({
35 tournament: PropTypes.shape({
39 export default withTranslation()(ReportDialog);