Sha256: 1c5968a6a5ca427efe51ae849b74665f21623656c0ce85f7142465141fd94a4e

Contents?: true

Size: 1.02 KB

Versions: 1919

Compression:

Stored size: 1.02 KB

Contents

import React from 'react'

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

const FormGroupFullWidth = (props) => (
  <div>
    <div>
      <FormGroup fullWidth>
        <TextInput
            label="First Name"
            placeholder="Enter First Name"
            {...props}
        />
        <TextInput
            label="Middle Intial"
            placeholder="Enter Middle Initial"
            {...props}
        />
        <TextInput
            label="Last Name"
            placeholder="Enter Last Name"
            {...props}
        />
      </FormGroup>
    </div>
    <br />
    <div>
      <FormGroup fullWidth>
        <TextInput
            placeholder="Search"
            {...props}
        />
        <Button
            onClick={() => alert('Button Clicked!')}
            text="Submit"
            variant="secondary"
            {...props}
        />
      </FormGroup>
    </div>
  </div>
)

export default FormGroupFullWidth

Version data entries

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

Version Path
playbook_ui-11.0.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-11.0.0.pre.alpha.2 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-11.0.0.pre.alpha.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.26.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.27.0.pre.lazysizes1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.27.0.pre.datepicker1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.26.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.26.0.pre.alpha5 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.26.0.pre.rc1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.26.0.pre.alpha.sticky1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.26.0.pre.alpha.display1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.26.0.pre.alpha3 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.25.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.26.0.pre.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.25.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.25.0.pre.alpha3 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.25.0.pre.treeshaking1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.24.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.24.0.pre.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-10.23.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx