0.1.7 • Published 11 months ago

@jcomponents/fancyol v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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 demo

With <FancyOl backgroundColor='purple'>, you get demo

With <FancyOl backgroundColor='#dddddd' color='#111111'>, you get demo

0.1.7

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago