Sha256: 06d7edc1fb930d45d1397110107122e5c3b968f90b8663b16e4fb9921033f44d
Contents?: true
Size: 809 Bytes
Versions: 839
Compression:
Stored size: 809 Bytes
Contents
import React from 'react' import FormGroup from '../_form_group' import Select from '../../pb_select/_select' import TextInput from '../../pb_text_input/_text_input' const FormGroupSelect = (props) => { const options = [ { value: 'Country' }, { value: 'Pop' }, { value: 'Rock' }, { value: 'Hip-Hop/Rap' }, { value: 'Classical' }, { value: 'Gospel' }, { value: 'Alternative' }, { value: 'Indie' }, { value: 'Other' }, ] return ( <div> <FormGroup> <TextInput label="Artist" placeholder="Enter Artist Name" {...props} /> <Select blankSelection="Genre" options={options} {...props} /> </FormGroup> </div> ) } export default FormGroupSelect
Version data entries
839 entries across 839 versions & 2 rubygems