0.1.4 • Published 7 years ago

react-native-circular-menu v0.1.4

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

react-native-circular-menu

A Ripple menu effect for your react native application

Example

example

How to install

npm i -S react-native-circular-menu

How to use

import CircularMenu from 'react-native-circular-menu';

...

render(){
   return(
      <CircularMenu
         items={this._renderItems()}
         closeBtn={this._renderCloseBtn()}
         show={false}
         items={[...]}
         position={"topLeft"}
      />
   )
}

Props

NameDescriptionRequired
showSet true to show and false to hideyes
colorChange color of ripple effectno
sizeChange the scale size of circle (default : 20)no
itemsMenu items (array)yes
positionChange position of animation circle (default : topLeft)no
closeBtnReceives a component for close buttonyes

Positions

Circular Menu supports 7 positions, topLeft, topCenter, topRight, center, bottomLeft, bottomCenter, bottomRight.

of coooourse PR are welcome :)