1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
joplin/ReactNativeClient/lib/components/side-menu.js
2017-07-05 21:34:25 +01:00

16 lines
342 B
JavaScript

import React, { Component } from 'react';
import { connect } from 'react-redux'
import { Log } from 'lib/log.js';
import SideMenu_ from 'react-native-side-menu';
class SideMenuComponent extends SideMenu_ {};
const SideMenu = connect(
(state) => {
return {
isOpen: state.showSideMenu,
};
}
)(SideMenuComponent)
export { SideMenu };