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 = ({ protocol }) =>
8 <ListGroup variant="flush">
9 {protocol ? protocol.map(entry =>
10 <Item key={entry.id} entry={entry} />
15 protocol: PropTypes.arrayOf(PropTypes.shape({