Sha256: 14de2cb92ef6727ab81b9e15f11fbe67a44ff7401d103191ece711d5a3d4e0e5

Contents?: true

Size: 727 Bytes

Versions: 1924

Compression:

Stored size: 727 Bytes

Contents

import React from 'react'

import Select from '../_select'

const SelectDisabledOptions = (props) => {
  const options = [
    {
      value: '1',
      disabled: true,
      text: 'Espresso',
    },
    {
      value: '2',
      text: 'Americano',
    },
    {
      value: '3',
      disabled: true,
      text: 'Cappuccino',
    },
    {
      value: '4',
      text: 'Mocha',
    },
    {
      value: '5',
      text: 'Flat White',
    },
    {
      value: '6',
      text: 'Latte',
    },
  ]

  return (
    <div>
      <Select
          label="Favorite Coffee"
          name="coffee"
          options={options}
          value="2"
          {...props}
      />
    </div>
  )
}

export default SelectDisabledOptions

Version data entries

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

Version Path
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep297 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease296 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease295 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease294 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.8.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease293 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease292 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease291 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.7.1.pre.alpha.alpharubyrelease281 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.7.1.pre.alpha.menu2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.7.1.pre.alpha.menu1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.7.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.7.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.6.0.pre.alpha.sectionseparator1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.6.0.pre.alpha.menuyml1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.6.0.pre.alpha.collapsible1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.6.0.pre.alpha.cssphone1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.6.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.5.0.pre.alpha.datepickerinput1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-12.5.0.pre.alpha.phonerails1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx