0.1.7 • Published 1 year ago

@jcomponents/fancyol v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago