Sha256: 834acf0b166be50cad3015bd8ba57d5ba76a3a293348c9d593c9347e9f8a1b01
Contents?: true
Size: 776 Bytes
Versions: 1644
Compression:
Stored size: 776 Bytes
Contents
import React from 'react' import FormGroup from '../_form_group' import Button from '../../pb_button/_button' import Typeahead from '../../pb_typeahead/_typeahead' 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
1,644 entries across 1,644 versions & 2 rubygems