1.2.1 • Published 3 years ago
@tdcerhverv/step-list v1.2.1
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