Sha256: 50d8b0207be36b696f1812fe49822253713ec75a89cd4316d6db11d2b5e864cc

Contents?: true

Size: 700 Bytes

Versions: 177

Compression:

Stored size: 700 Bytes

Contents

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

const SelectDisabledOptions = () => {
  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"
      />
    </div>
  )
}

export default SelectDisabledOptions

Version data entries

177 entries across 177 versions & 1 rubygems

Version Path
playbook_ui-5.1.0.pre.alpha4 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.1.0.pre.alpha2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.1.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.0.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.0.1.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.18.1.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.18.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.18.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.17.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.17.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.16.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.15.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.14.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.13.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.13.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.12.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.11.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx