Sha256: 7e1905e7b3a63a6e16e08533334169a8b8050183f78686ba01c8a6102f11f018

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

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

function SelectDefault() {
  return (
    <div>
      <Select
        label='Favorite Food'
        name='food'
        options={[
          {
            value: '1',
            valueText: 'Burgers',
          },
          {
            value: '2',
            selected: true,
            valueText: 'Pizza',
          },
          {
            value: '3',
            valueText: 'Tacos',
          },
        ]}
      />
    </div>
  )
}

export default SelectDefault

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playbook_ui-3.1.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-3.0.1 app/pb_kits/playbook/pb_select/docs/_select_default.jsx
playbook_ui-3.0.0 app/pb_kits/playbook/pb_select/docs/_select_default.jsx