import { ArgTypes, Canvas, Story, Meta } from '@storybook/addon-docs/blocks';
import * as OrderedListStories from './OrderedList.stories';
import { stackblitzPrefillConfig } from '../../../previewer/codePreviewer';

<Meta isTemplate />

# OrderedList

[Source code](https://github.com/carbon-design-system/carbon/tree/main/packages/react/src/components/OrderedList)
&nbsp;|&nbsp;
[Usage guidelines](https://www.carbondesignsystem.com/components/list/usage)
&nbsp;|&nbsp;
[Accessibility](https://www.carbondesignsystem.com/components/list/accessibility)

{/* <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> */}

## Table of Contents

- [Overview](#overview)
- [Native List Styles](#native-list-styles)
- [Nested](#nested)
- [Component API](#component-api)
- [Feedback](#feedback)

{/* <!-- END doctoc generated TOC please keep comment here to allow auto update --> */}

## Overview

<div style={{ paddingLeft: '15px' }}>
  <Canvas
    of={OrderedListStories.Default}
    additionalActions={[
      {
        title: 'Open in Stackblitz',
        onClick: () => stackblitzPrefillConfig(OrderedListStories.Default),
      },
    ]}
  />
</div>

## Native List Styles

<div style={{ paddingLeft: '15px' }}>
  <Canvas
    of={OrderedListStories.NativeListStyles}
    additionalActions={[
      {
        title: 'Open in Stackblitz',
        onClick: () => stackblitzPrefillConfig(OrderedListStories.NativeListStyles),
      },
    ]}
  />
</div>

## Nested

<div style={{ paddingLeft: '15px' }}>
  <Canvas
    of={OrderedListStories.Nested}
    additionalActions={[
      {
        title: 'Open in Stackblitz',
        onClick: () => stackblitzPrefillConfig(OrderedListStories.Nested),
      },
    ]}
  />
</div>

## Component API

<ArgTypes />

## Feedback

Help us improve this component by providing feedback, asking questions on Slack,
or updating this file on
[GitHub](https://github.com/carbon-design-system/carbon/edit/main/packages/react/src/components/OrderedList/OrderedList.mdx).
