1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { Alert } from 'react-bootstrap';
4 import { withTranslation } from 'react-i18next';
6 import Item from './Item';
7 import i18n from '../../i18n';
12 }) => rounds && rounds.length ?
13 <ol className="rounds">
18 tournament={tournament}
23 <Alert variant="info">
24 {i18n.t('rounds.empty')}
29 rounds: PropTypes.arrayOf(PropTypes.shape({
32 tournament: PropTypes.shape({
36 export default withTranslation()(List);