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';
14 <Modal className="seed-dialog" onHide={onHide} show={show}>
15 <Modal.Header closeButton>
17 {i18n.t('rounds.setSeed')}
26 SeedDialog.propTypes = {
27 onHide: PropTypes.func,
28 round: PropTypes.shape({
31 tournament: PropTypes.shape({
35 export default withTranslation()(SeedDialog);