import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import { connect } from 'react-redux';
import { ThemeContext } from '../theme';
import {
defaultHeader, themedHeader, StackAnimation, ModalAnimation
} from '../utils/navigation';
// Outside Stack
// import OnboardingView from '../views/OnboardingView';
// import NewServerView from '../views/NewServerView';
import WorkspaceView from '../views/WorkspaceView';
import LoginView from '../views/LoginView';
import ForgotPasswordView from '../views/ForgotPasswordView';
import RegisterView from '../views/RegisterView';
import LegalView from '../views/LegalView';
import AuthenticationWebView from '../views/AuthenticationWebView';
// import { ROOT_OUTSIDE } from '../actions/app';
// Outside
const Outside = createStackNavigator();
const _OutsideStack = () => {
const { theme } = React.useContext(ThemeContext);
return (
{/* {root === ROOT_OUTSIDE ? (
) : null}
*/}
);
};
const mapStateToProps = state => ({
root: state.app.root
});
const OutsideStack = connect(mapStateToProps)(_OutsideStack);
// OutsideStackModal
const OutsideModal = createStackNavigator();
const OutsideStackModal = () => {
const { theme } = React.useContext(ThemeContext);
return (
);
};
export default OutsideStackModal;