Sha256: 766c91d28a253d478e5fd35c30668cfc4b7cfa91e88da80cb96c00e432de6d77

Contents?: true

Size: 955 Bytes

Versions: 24

Compression:

Stored size: 955 Bytes

Contents

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

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

24 entries across 24 versions & 1 rubygems

Version Path
playbook_ui-9.19.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx