Sha256: 465bc19f0026fa1820c8b850724a87ad985b93c900a929380aa904c3ba2c4fb4
Contents?: true
Size: 364 Bytes
Versions: 22
Compression:
Stored size: 364 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; const BlankOption = ({ blank }) => { if (Object.keys(blank).length === 0) { return null; } return ( <option key={blank.value} value={blank.value}> {blank.label} </option> ); }; BlankOption.propTypes = { blank: PropTypes.object.isRequired, }; export default BlankOption;
Version data entries
22 entries across 22 versions & 1 rubygems