Sha256: b6cd4e2542c781d99ee64dd2d6989da18bfb95182ccee7840de6d3471b6b6d50

Contents?: true

Size: 886 Bytes

Versions: 2

Compression:

Stored size: 886 Bytes

Contents

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

const SelectableListDefault = () => {
  return (
    <div>
      <SelectableList variant="radio">
        <SelectableList.Item
            defaultChecked={false}
            label="Monday"
            name="custom1"
        />
        <SelectableList.Item
            defaultChecked
            label="Tuesday"
            name="custom1"
        />
        <SelectableList.Item
            defaultChecked={false}
            label="Wednesday"
            name="custom1"
        />
        <SelectableList.Item
            defaultChecked={false}
            label="Thursday"
            name="custom1"
        />
        <SelectableList.Item
            defaultChecked={false}
            label="Friday"
            name="custom1"
        />
      </SelectableList>
    </div>
  )
}

export default SelectableListDefault

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-7.4.0.pre.alpha1 app/pb_kits/playbook/pb_selectable_list/docs/_selectable_list_radio.jsx
playbook_ui-7.3.0.pre.alpha8 app/pb_kits/playbook/pb_selectable_list/docs/_selectable_list_radio.jsx