Sha256: ab443b839c1d0b1a1bb55dc2c920e8a9dda06fdd64f8b6424a652e136e952d9c
Contents?: true
Size: 775 Bytes
Versions: 2
Compression:
Stored size: 775 Bytes
Contents
import React from 'react' import { Button, FormGroup, TextInput } from '../../' const FormGroupButton = (props) => ( <div> <div> <FormGroup> <TextInput label="With Label" placeholder="Search" /> <Button onClick={() => alert('Button Clicked!')} text="Submit" variant="secondary" {...props} /> </FormGroup> </div> <br /> <div> <FormGroup> <TextInput placeholder="Search" /> <Button onClick={() => alert('Button Clicked!')} text="Submit" variant="secondary" {...props} /> </FormGroup> </div> </div> ) export default FormGroupButton
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-7.6.2.pre.alpha1 | app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx |
playbook_ui-7.6.1.pre.alpha1 | app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx |