Sha256: 27c6bd50e3d3fb130ece9b36be1b31ef9fe12ae3f2e97a53238ad206a6f5b061

Contents?: true

Size: 821 Bytes

Versions: 104

Compression:

Stored size: 821 Bytes

Contents

import React from 'react'
import { Button, FormGroup, TextInput } from '../../'

const FormGroupButton = (props) => (
  <div>
    <div>
      <FormGroup>
        <TextInput
            label="With Label"
            placeholder="Search"
            {...props}
        />
        <Button
            onClick={() => alert('Button Clicked!')}
            text="Submit"
            variant="secondary"
            {...props}
        />
      </FormGroup>
    </div>
    <br />
    <div>
      <FormGroup>
        <TextInput
            placeholder="Search"
            {...props}
        />
        <Button
            onClick={() => alert('Button Clicked!')}
            text="Submit"
            variant="secondary"
            {...props}
        />
      </FormGroup>
    </div>
  </div>
)

export default FormGroupButton

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
playbook_ui-8.2.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.1.3 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.4.0.alpha.dependencies.2 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.4.0.alpha.dependencies.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.2.0.pre.alpha4 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.2.0.pre.alpha3 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.2.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.1.2 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.1.0.pre.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.0.3 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.2.0.pre.alpha2 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.1.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.0.2 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.2.0.pre.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.1.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.0.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.0.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.0.0.pre.alpha5 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.0.0.pre.alpha4 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-8.0.0.pre.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx