Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/>
);
}
function OptionCapacity({ label, value }) {
return <option value="{value}">{label}</option>;
}
OptionCapacity.propTypes = {
label: PropTypes.string,
value: PropTypes.string,
};
const CapacitySelector = connectNumericMenu(
({ items, currentRefinement, refine }) => {
const selectValue = e => refine(e.target.value);
const options = items.map(item => (
));
return (
<div>
<select>
{options}
</select></div>