{"size": 850, "ext": "js", "max_stars_repo_path": "js/components/index/index.js", "max_stars_repo_name": "MohamedAbdElmoniem/React-native-project", "max_stars_repo_stars_event_min_datetime": "2017-08-07T01:55:16.000Z", "max_stars_repo_stars_event_max_datetime": "2017-10-30T17:05:13.000Z", "max_issues_repo_path": "js/components/index/index.js", "max_issues_repo_name": "KantaP/OmcReactNative", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/components/index/index.js", "max_forks_repo_name": "KantaP/OmcReactNative", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.972972973, "max_line_length": 95, "alphanum_fraction": 0.5976470588}
'use strict';

import React, {Component} from 'react';
import {connect} from 'react-redux';

import {pushNewRoute, replaceRoute} from '../../actions/route';

import { Container, Content, Text } from 'native-base';

import myTheme from '../../themes/base-theme';


class Index extends Component {

    render() {
        return (
            <Container theme={myTheme}>
            	<Content>
            		<Text style={{marginTop: 180, marginLeft: 22, fontSize: 22, fontWeight: 'bold'}}>
            			React Native - NativeBase Seed
            		</Text>
            	</Content>
            </Container>
        )
    }
}


function bindActions(dispatch){
    return {
        replaceRoute:(route)=>dispatch(replaceRoute(route)),
        pushNewRoute:(route)=>dispatch(pushNewRoute(route))
    }
}

export default connect(null, bindActions)(Index);
