{"size": 1307, "ext": "js", "max_stars_repo_path": "App.js", "max_stars_repo_name": "farshiana/react-native-awesome-places", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "App.js", "max_issues_repo_name": "farshiana/react-native-awesome-places", "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": "farshiana/react-native-awesome-places", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.1346153846, "max_line_length": 70, "alphanum_fraction": 0.7597551645}
import { Navigation } from 'react-native-navigation';
import { Provider } from 'react-redux';

import AuthScreen from './src/screens/Auth/Auth';
import SharePlaceScreen from './src/screens/SharePlace/SharePlace';
import FindPlaceScreen from './src/screens/FindPlace/FindPlace';
import PlaceDetailScreen from './src/screens/PlaceDetail/PlaceDetail';
import SideDrawerScreen from './src/screens/SideDrawer/SideDrawer';
import configureStore from './src/store/configureStore';

const store = configureStore();

// Register Screens
Navigation.registerComponent(
	'react-native-awesome-places.AuthScreen',
	() => AuthScreen,
	store,
	Provider,
);
Navigation.registerComponent(
	'react-native-awesome-places.SharePlaceScreen',
	() => SharePlaceScreen,
	store,
	Provider,
);
Navigation.registerComponent(
	'react-native-awesome-places.FindPlaceScreen',
	() => FindPlaceScreen,
	store,
	Provider,
);
Navigation.registerComponent(
	'react-native-awesome-places.PlaceDetailScreen',
	() => PlaceDetailScreen,
	store,
	Provider,
);
Navigation.registerComponent(
	'react-native-awesome-places.SideDrawerScreen',
	() => SideDrawerScreen,
	store,
	Provider,
);

// Start an App
export default () => Navigation.startSingleScreenApp({
	screen: {
		screen: 'react-native-awesome-places.AuthScreen',
		title: 'Login',
	},
});
