mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-12 08:54:00 +02:00
16 lines
342 B
JavaScript
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 }; |