Sha256: 834acf0b166be50cad3015bd8ba57d5ba76a3a293348c9d593c9347e9f8a1b01
Contents?: true
Size: 776 Bytes
Versions: 1648
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,648 entries across 1,648 versions & 2 rubygems