2.0.11 • Published 9 months ago

@leafygreen-ui/ordered-list v2.0.11

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Ordered List

npm (scoped)

View on MongoDB.design

Installation

Yarn

yarn add @leafygreen-ui/ordered-list

NPM

npm install @leafygreen-ui/ordered-list

Example

<OrderedList>
  <OrderedListItem
    title="Title"
    description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna."
  />
  <OrderedListItem
    title="Title"
    description={
      <>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
        tempor incididunt ut labore et dolore magna. <Link>Learn more.</Link>
      </>
    }
  />
  <OrderedListItem
    title="Title"
    description="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna."
  />
</OrderedList>

OrderedList

PropTypeDescriptionDefault
darkModebooleanDetermines if the component renders in dark modefalse

OrderedListItem

PropTypeDescriptionDefault
titleReact.ReactNodeThe title of the list item.
descriptionReact.ReactNodeThe description of the list item. This will render below the title.
3.0.0

7 months ago

2.0.13

7 months ago

2.0.12

8 months ago

2.0.11

9 months ago

2.0.10

9 months ago

2.0.9

9 months ago

2.0.8

9 months ago

2.0.7

10 months ago

2.0.6

10 months ago

2.0.5

11 months ago

2.0.4

11 months ago

2.0.3

11 months ago

2.0.2

11 months ago

2.0.1

11 months ago

2.0.0

11 months ago

1.0.0

1 year ago