joyent-portal/packages/ui-toolkit/src/section-list/usage.md

670 B

const SectionListItem = require('./SectionListItem').default;
const Anchor = require('./SectionListItem').Anchor;

<SectionList>
  <SectionListItem>
    <Anchor className='active'>
      Overview
    </Anchor>
  </SectionListItem>
  <SectionListItem>
    <Anchor>
      Services
    </Anchor>
  </SectionListItem>
  <SectionListItem>
    <Anchor>
      Instances
    </Anchor>
  </SectionListItem>
  <SectionListItem>
    <Anchor>
      Versions
    </Anchor>
  </SectionListItem>
  <SectionListItem>
    <Anchor>
      Manifest
    </Anchor>
  </SectionListItem>
  <SectionListItem>
    <Anchor>
      Settings
    </Anchor>
  </SectionListItem>
</SectionList>