Sha256: 86d7011a7c03cc10053b9438e4cf61955cec7e54ca53b1736843a669d6b22919

Contents?: true

Size: 472 Bytes

Versions: 1919

Compression:

Stored size: 472 Bytes

Contents

import React from 'react'

import Select from '../_select'

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

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

export default SelectDefault

Version data entries

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

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_select/docs/_select_default.jsx