@tdcerhverv/step-list
v1.2.1
Published
Lists for vertically displaying a defined series of steps/instructions
Downloads
16
Maintainers
Keywords
Readme
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 andchildren
Tags
step list ul ol li