1 import PropTypes from 'prop-types';
2 import React from 'react';
3 import { ListGroup } from 'react-bootstrap';
5 import Item from './Item';
7 const List = ({ tournament }) =>
8 <ListGroup variant="flush">
9 {tournament.applications.map(application =>
10 <Item application={application} key={application.id} tournament={tournament} />
15 tournament: PropTypes.shape({
16 applications: PropTypes.arrayOf(PropTypes.shape({