{"size": 713, "ext": "js", "max_stars_repo_path": "App.js", "max_stars_repo_name": "Alastair-smith2/stock_app", "max_stars_repo_stars_event_min_datetime": "2018-05-17T11:46:32.000Z", "max_stars_repo_stars_event_max_datetime": "2019-01-02T22:06:24.000Z", "max_issues_repo_path": "App.js", "max_issues_repo_name": "Alastair-smith2/stock_app", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "App.js", "max_forks_repo_name": "Alastair-smith2/stock_app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.2820512821, "max_line_length": 50, "alphanum_fraction": 0.6325385694}
/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */

import React, { Component } from "react";

import { StackNavigator } from "react-navigation";
import Login from "./src/screens/Login";
import Dashboard from "./src/screens/Dashboard";
import { Provider } from "react-redux";
import configureStore from "./src/store/index";

const store = configureStore();

const RootStack = StackNavigator(
  {
    Login: {
      screen: Login
    },
    Dashboard: {
      screen: Dashboard
    }
  },
  {
    initialRouteName: "Login"
  }
);

export default class App extends Component {
  render() {
    return (
      <Provider store={store}>
        <RootStack />
      </Provider>
    );
  }
}
