/* __.-._ * '-._"7' JediFocus * /'.-c * | /T Do. Or do not. * _)_/LI There is no try. * * This project is a part of the “Byte-Sized JavaScript” videocasts. * You can watch “Byte-Sized JavaScript” at: https://bytesized.tv/ * * MIT Licensed — See LICENSE.md * * Send your comments, suggestions, and feedback to me@volkan.io */ // @flow import type { NavigationProps } from 'jedifocus-navigations-types'; import React from 'react'; import * as actions from './actions'; import { connect } from 'kink'; import Navigation from '../../components/Navigation'; const NavigationContainer = ({ addNew, changeContext, context, passive }: NavigationProps) => ( ); export default connect( NavigationContainer, actions, ({ context, modalVisible, modalContextVisible, appStateFetched }) => ({ context, passive: modalVisible || modalContextVisible || !appStateFetched }) );