@jcomponents/fancyol
v0.1.7
Published
* spacing?: number - distance between successive <li> elements. Similar to margin-bottom. * backgroundColor?: string - specifies the circle's color * color?: string - specifies the text color * showLine?: boolean - whether to show a line connecting the ci
Downloads
33
Readme
FancyOl
Props
- spacing?: number - distance between successive elements. Similar to margin-bottom.
- backgroundColor?: string - specifies the circle's color
- color?: string - specifies the text color
- showLine?: boolean - whether to show a line connecting the circles
Usage
import FancyOl from '@jcomponents/fancyol';
export default function Page() {
return <>
<h1>The Steps</h1>
<FancyOl>
<li>Sign into AWS Management Console.</li>
<li>Open the RDS console.</li>
<li>Choose the region where you wish to create your instance.</li>
<li>In the navigation pane, click on 'Databases'.</li>
<li>Click on 'Create database'.</li>
</FancyOl>
</>;
}
yields
With <FancyOl backgroundColor='purple'>
, you get
With <FancyOl backgroundColor='#dddddd' color='#111111'>
, you get