mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +02:00
a96734f5be
This reverts commit 0b6f5581f0
.
It causes too many conflicts with pull requests.
13 lines
301 B
JavaScript
13 lines
301 B
JavaScript
const { connect } = require('react-redux');
|
|
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 };
|