mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-15 09:04:04 +02:00
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 };
|