1.0.4 • Published 5 years ago

circular-side-nav v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Circular Side Nav

Simple react circular side nav.

Demo

Live demo

Local demo:

git clone https://github.com/ashraf-ainia/circular-side-nav.git
cd circular-side-nav
npm i && npm start

Installation

npm i circular-side-nav

Example

import React from 'react';
import CircularSideNav from 'circular-side-nav';

function App() {
  return(
    <CircularSideNav
        backgroundColor='#ccc'
        navSize={15}
        elements={[
            <div></div>,
            <p></p>
            ]}
        animation='sequence'
        animationPeriod={0.04}
      />
  )
}

Component Props

backgroundImg: String

backgroundColor: String

navSize: number

elements: JSX.Element[]

animation: String | 'sequence'

animationPeriod: number

License

MIT

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.0

5 years ago