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