@bdt-component-library/ordered-list

0.4.6 • Public • Published

OrderedList Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

Handles display of ordered lists according to style guide conventions.

API

prop type required default explanation
listClassName string no n/a Adds an optional classname to the list
children React node yes n/a The inner content of the list
numberIcons boolean no n/a Changes list style for use with icons
inline boolean no false Changes list style for use with elements like icons
noTopMargin boolean no false Removes top spacing
noBottomMargin boolean no false Removes bottom spacing

Readme

Keywords

none

Package Sidebar

Install

npm i @bdt-component-library/ordered-list

Weekly Downloads

0

Version

0.4.6

License

MIT

Unpacked Size

1.13 MB

Total Files

12

Last publish

Collaborators

  • benefitsdatatrust
  • gabrielliwerant