Sha256: 062cd96f6a45ca03d5e17699d156b7424ca401163c1a020f7545f7e5c0562bfd

Contents?: true

Size: 561 Bytes

Versions: 956

Compression:

Stored size: 561 Bytes

Contents

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

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

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

export default SelectInline

Version data entries

956 entries across 956 versions & 2 rubygems

Version Path
playbook_ui_docs-13.28.0.pre.alpha.PLAY1338alpha3001 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.28.0.pre.alpha.PLAY1338alpha3001 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2987 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2987 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2986 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2986 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2984 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.28.0.pre.alpha.PLAY1343fixTooltiprunwayissue2984 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.27.0 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.27.0 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.26.0.pre.alpha.jasoncypretpatch12820 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.26.0.pre.alpha.jasoncypretpatch12816 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12816 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.25.0.pre.alpha.PBNTR291Dropdownrailsv22812 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.25.0.pre.alpha.PBNTR291Dropdownrailsv22812 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui_docs-13.26.0 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx
playbook_ui-13.26.0 app/pb_kits/playbook/pb_select/docs/_select_inline.jsx