1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/ReactNativeClient/lib/components/side-menu.js
2018-03-09 17:49:35 +00:00

16 lines
407 B
JavaScript

const React = require("react");
const Component = React.Component;
const { connect } = require("react-redux");
const { Log } = require("lib/log.js");
const SideMenu_ = require("react-native-side-menu").default;
class SideMenuComponent extends SideMenu_ {}
const MySideMenu = connect(state => {
return {
isOpen: state.showSideMenu,
};
})(SideMenuComponent);
module.exports = { SideMenu: MySideMenu };