Skip to content

Instantly share code, notes, and snippets.

@scottshuffler
Created August 24, 2017 18:47
Show Gist options
  • Save scottshuffler/bdf0f693ab5e407fc76df6a1edf0aa8f to your computer and use it in GitHub Desktop.
Save scottshuffler/bdf0f693ab5e407fc76df6a1edf0aa8f to your computer and use it in GitHub Desktop.
const SelectInput = ({ input, meta, type, placeholder, min, max, size }) => {
return (
<FormGroup bsSize={size}>
<FormControl
componentClass="select"
type={type}
placeholder={placeholder}
min={min}
max={max}
value={input.value}
onChange={input.onChange}
>
<option> </option>
<option>NC</option>
<option>GA</option>
<option>SC</option>
<option>VA</option>
</FormControl>
</FormGroup>
)
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment