Sha256: 14de2cb92ef6727ab81b9e15f11fbe67a44ff7401d103191ece711d5a3d4e0e5

Contents?: true

Size: 727 Bytes

Versions: 1919

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,919 entries across 1,919 versions & 2 rubygems

Version Path
playbook_ui-11.0.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-11.0.0.pre.alpha.2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-11.0.0.pre.alpha.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.26.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.27.0.pre.lazysizes1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.27.0.pre.datepicker1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.26.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.26.0.pre.alpha5 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.26.0.pre.rc1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.26.0.pre.alpha.sticky1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.26.0.pre.alpha.display1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.26.0.pre.alpha3 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.25.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.26.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.25.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.25.0.pre.alpha3 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.25.0.pre.treeshaking1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.24.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.24.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-10.23.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx