Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const SelectInput = props => (
<select {...extractInputProps(props)}>
<option value="">Select a value</option>
{props.options.map(o =>
<option key={o.value} value={o.value}>{o.label || o.value}</option>)}
</select>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.