Sha256: 1b9623fcb1c097ca26495352c9b6ace045ad450ca6c078a3e08071ffb4e9a1bb

Contents?: true

Size: 726 Bytes

Versions: 94

Compression:

Stored size: 726 Bytes

Contents

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

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

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-9.19.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx