Sha256: 87f8c43977fc1783b951b96fa045bbb62b029ab507597f5bd559a272a91d1bb6

Contents?: true

Size: 873 Bytes

Versions: 10

Compression:

Stored size: 873 Bytes

Contents

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

const SelectDisabledOptions = () => {
  return (
    <div>
      <Select
          label="Favorite Coffee"
          name="coffee"
          options={[
          {
            value: '1',
            disabled: true,
            valueText: 'Espresso',
          },
          {
            value: '2',
            selected: true,
            valueText: 'Americano',
          },
          {
            value: '3',
            disabled: true,
            valueText: 'Cappuccino',
          },
          {
            value: '4',
            valueText: 'Mocha',
          },
          {
            value: '5',
            valueText: 'Flat White',
          },
          {
            value: '6',
            valueText: 'Latte',
          },
        ]}
      />
    </div>
  )
}

export default SelectDisabledOptions

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
playbook_ui-4.2.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.1.2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.1.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.1.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.0.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.0.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-3.5.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-3.4.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-3.3.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-3.2.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx