1.1.1 • Published 4 years ago

@psyycker/rn-animated-hamburger v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

RN-animated-hamburger

Animated fully configurable hamburger menu for react-native!

Upgrade of this unmaintained repo

npm install @psyycker/rn-animated-hamburger --save
import Hamburger from '@psyycker/rn-animated-hamburger';

alt tag

API

PropertyMandatoryDefaultTypeDescription
activetruebooleanBoolean to set the component to active or not
onPresstrue() => voidCallback called when the menu is clicked
typefalsecrossstringDefines the type of the menu icon. Options can be cross spinCross arrow spinArrow
colorfalsewhitestringIt'll change the color of the component. Any color which is usable in react native will work
borderRadiusfalsefalsebooleanAllow to set a border radius on the lines (6px)

Contribute

There is no much to do, but if you want to do something new, feel free to do a pull request!

License

MIT