1.2.1 • Published 3 years ago

@tdcerhverv/step-list v1.2.1

Weekly downloads
52
License
Apache-2.0
Repository
github
Last release
3 years ago

Step List component

Lists for vertically displaying a defined series of steps/instructions. Uses <ol> with pseudo-element ::before in its <li> children to style the bullets and numbers.

Usage

Import like this:

import { StepList } from '@tdcerhverv/step-list';

Use like this:

<StepList>
  <li>{children}</li>
  <li>{children}</li>
  <li>{children}</li>
</StepList>

Props

  • className for customization and children

Tags

step list ul ol li