import React from 'react';
import List, { Item } from 'terra-list';
import { Placeholder } from '@cerner/terra-docs';
import classNames from 'classnames/bind';
import styles from './ListDocCommon.module.scss';

const cx = classNames.bind(styles);

const ListSectionExample = () => (
  <List role="listbox" aria-label="example-label">
    <Item
      key="default"
    >
      <Placeholder title="Default ListItem" className={cx('placeholder')} />
    </Item>
    <Item
      key="chevron"
      hasChevron
    >
      <Placeholder title="Chevron ListItem" className={cx('placeholder')} />
    </Item>
    <Item
      key="selectable"
      isSelectable
    >
      <Placeholder title="Selectable ListItem" className={cx('placeholder')} />
    </Item>
    <Item
      key="selected"
      isSelectable
      isSelected
    >
      <Placeholder title="Selected ListItem" className={cx('placeholder')} />
    </Item>
  </List>
);

export default ListSectionExample;
