0.0.4 • Published 3 months ago

tavukburger v0.0.4

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

tavukburger

Animated fully configurable hamburger menu for react-native! alt tag

original repository

Installation

NPM

npm install tavukburger --save

Yarn

yarn add tavukburger

Usage

...
import Hamburger from 'tavukburger';
...
<Hamburger type="cross" active={this.state.active} onPress={() => {
              this.setState({ active: !this.state.active })
          }}
          underlayColor="transparent"
          >
 </Hamburger>

Props

PropDescriptionTypDefault
typeType of Animation.     Available types: {arrow, spinArrow, cross, spinCross}Stringcross
onPressCalled when the hamburger gets pressedFunctionundefined
activeDetermines the activation state of Hamburger.Booleanfalse

Todo

  • Add an example of integrating with Redux.
  • Add an example of integrating with NativeBase drawer.

This repository is a fork of react-native-hamburger

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago