Sha256: ddeb13a6b47e9c458b6e54eca79a64160dbf36309e6db1001b215d0a4eabb84d
Contents?: true
Size: 438 Bytes
Versions: 179
Compression:
Stored size: 438 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; const ModuleStreamDetailArtifacts = ({ artifacts }) => ( <div> <ul> {artifacts.map(({ id, name }) => <li key={id}>{name}</li>)} </ul> </div> ); ModuleStreamDetailArtifacts.propTypes = { artifacts: PropTypes.arrayOf(PropTypes.shape({ id: PropTypes.number, name: PropTypes.string, })).isRequired, }; export default ModuleStreamDetailArtifacts;
Version data entries
179 entries across 179 versions & 1 rubygems