Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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)
}