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-6.1.0.pre.alpha3 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.1.0.pre.alpha2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.1.0.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.1.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.0.1.pre.alpha6 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.0.1.pre.alpha5 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.0.1.pre.alpha4 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.0.1.pre.alpha3 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.0.1.pre.alpha2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.2.0.pre.alpha15 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.2.0.pre.alpha14 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.2.0.pre.alpha13 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.0.1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.2.0.pre.alpha12 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-6.0.0 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.2.0.pre.alpha11 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.5.1.pre.alpha4 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.5.1.pre.alpha3 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.5.1.pre.alpha2 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx
playbook_ui-5.5.1.pre.alpha1 app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx