import PropTypes from 'prop-types'; import React from 'react'; import Label from 'Components/Label'; import { kinds } from 'Helpers/Props'; function AlbumFormats({ formats }) { return (
{ formats.map((format) => { return ( ); }) }
); } AlbumFormats.propTypes = { formats: PropTypes.arrayOf(PropTypes.object).isRequired }; AlbumFormats.defaultProps = { formats: [] }; export default AlbumFormats;