How to use the react-burger-menu.stack function in react-burger-menu

To help you get started, we’ve selected a few react-burger-menu examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lancetw / react-isomorphic-bundle / src / shared / components / Sidebar.js View on Github external
import React, { Component, PropTypes } from 'react'

const Menu = require('react-burger-menu').stack

export default class Sidebar extends Component {

  static propTypes = {
    children: PropTypes.any,
    isOpen: PropTypes.bool,
    isMenuOpen: PropTypes.func
  }

  static contextTypes = {
    history: PropTypes.object.isRequired
  }

  constructor (props) {
    super(props)
  }

react-burger-menu

An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations

MIT
Latest version published 2 years ago

Package Health Score

58 / 100
Full package analysis

Popular react-burger-menu functions