React Native Animated Hamburger Save

⚡ ☰ React Native Animated Hamburger ⚡

Project README

react-native-animated-hamburger

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

original repository

Installation

NPM

npm install react-native-animated-hamburger --save

Yarn

yarn add react-native-animated-hamburger

Usage

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

Props

Prop Description Typ Default
type Type of Animation.     Available types: {arrow, spinArrow, cross, spinCross} String cross
onPress Called when the hamburger gets pressed Function undefined
active Determines the activation state of Hamburger. Boolean false

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

Open Source Agenda is not affiliated with "React Native Animated Hamburger" Project. README Source: azeemhassni/react-native-animated-hamburger
Stars
28
Open Issues
1
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating