Sha256: 572c9d25ce2dbca3af6e6f4680a6383eefd9d70625818a179ae175f8999df8f7

Contents?: true

Size: 925 Bytes

Versions: 1919

Compression:

Stored size: 925 Bytes

Contents

import React from 'react'

import Button from '../../pb_button/_button'
import FormGroup from '../../pb_form_group/_form_group'
import TextInput from '../../pb_text_input/_text_input'

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

1,919 entries across 1,919 versions & 2 rubygems

Version Path
playbook_ui-10.23.0.pre.alpha2 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.23.0.pre.cachetest app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.23.0.pre.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.22.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.22.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.21.1.pre.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.21.0.pre.alpha.lightbox.2 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.21.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.21.0.pre.alpha.lightbox app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.21.0.pre.alpha.rg1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.21.0.pre.alpha.jg1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.21.0.pre.alpha.na1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.21.0.pre.alpha.jd1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.20.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.19.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.19.0.pre.lightbox app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.18.2 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.19.0.pre.popover.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.18.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx
playbook_ui-10.18.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx