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 SeedForm from './SeedForm';
7 import i18n from '../../i18n';
15 <Modal className="seed-dialog" onHide={onHide} show={show}>
16 <Modal.Header closeButton>
18 {i18n.t('rounds.setSeed')}
23 participant={participant}
28 SeedDialog.propTypes = {
29 onHide: PropTypes.func,
30 round: PropTypes.shape({
33 tournament: PropTypes.shape({
37 export default withTranslation()(SeedDialog);