Sha256: 2f119715ba270adc131e1eead913b06feb5898bd8236d149a0127920e38a96e6

Contents?: true

Size: 445 Bytes

Versions: 177

Compression:

Stored size: 445 Bytes

Contents

import React from 'react'
import { Select } from '../../'

const SelectDefault = () => {
  const options = [
    {
      value: '1',
      text: 'Burgers',
    },
    {
      value: '2',
      text: 'Pizza',
    },
    {
      value: '3',
      text: 'Tacos',
    },
  ]

  return (
    <div>
      <Select
          label="Favorite Food"
          name="food"
          options={options}
      />
    </div>
  )
}

export default SelectDefault

Version data entries

177 entries across 177 versions & 1 rubygems

Version Path
playbook_ui-7.11.1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.11.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.10.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.9.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.8.4 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.8.3 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.8.2 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.8.1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.8.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.7.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.6.2 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.6.1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.6.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.5.1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.5.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-7.4.2 app/pb_kits/playbook/pb_select/docs/_select_default.jsx