import React from 'react' import getMuiTheme from 'material-ui/lib/styles/getMuiTheme' import Styles from 'material-ui/lib/styles' import mui from 'material-ui' import * as ContextMenuActions from '../actions/contextMenu' import * as NavigationActions from '../actions/navigation' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import LibraryNav from 'LibraryNav' import EntrySelector from 'EntrySelector' import * as utils from 'utils' const { Popover, Menu, MenuItem } = mui const DefaultRawTheme = Styles.LightRawTheme class App extends React.Component { constructor(props, context){ super(props, context) this.state = { entries: [], } } static defaultProps = { name: utils.APP_NAME }; static get childContextTypes(){ return {muiTheme: React.PropTypes.object} } getChildContext() { return { muiTheme: getMuiTheme(DefaultRawTheme) } } entriesTapped = () => { }; handleRequestClose = () => { this.props.contextMenuActions.closeContextMenu() }; render() { const { contextMenu, contextMenuActions, navigation, navigationActions } = this.props return (