Sha256: 773ea66a2749482ece5ef637c60c193520b20cf7487d5136f6f427f3c99c89e1
Contents?: true
Size: 690 Bytes
Versions: 104
Compression:
Stored size: 690 Bytes
Contents
import React from 'react' import { Button, FormGroup, Typeahead } from '../../' const FormGroupTypeahead = (props) => { const options = [ { label: 'Windows', value: 'windows' }, { label: 'Roof', value: 'roof' }, { label: 'Siding', value: 'siding' }, { label: 'Doors', value: 'doors' }, ] return ( <div> <FormGroup> <Typeahead label="Products" options={options} {...props} /> <Button onClick={() => alert('Button Clicked!')} text="Add" variant="secondary" {...props} /> </FormGroup> </div> ) } export default FormGroupTypeahead
Version data entries
104 entries across 104 versions & 1 rubygems