{"size": 1599, "ext": "js", "max_stars_repo_path": "GameFeilds/Register.js", "max_stars_repo_name": "Fightfx1/Makers-Assemble-5951-Scouting-Application", "max_stars_repo_stars_event_min_datetime": "2020-03-16T22:23:29.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-16T22:23:29.000Z", "max_issues_repo_path": "GameFeilds/Register.js", "max_issues_repo_name": "Fightfx1/Makers-Assemble-5951-Scouting-Application", "max_issues_repo_issues_event_min_datetime": "2021-05-11T07:05:46.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T01:19:08.000Z", "max_forks_repo_path": "GameFeilds/Register.js", "max_forks_repo_name": "Fightfx1/Makers-Assemble-5951-Scouting-Application", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 24.2272727273, "max_line_length": 103, "alphanum_fraction": 0.4846779237}
import React, { Component } from 'react';
import {
    StyleSheet,
    View,
    ScrollView,
    Text,
    TouchableOpacity
} from 'react-native';

import Input from '../components/text-input.js'




export default class Register extends Component {
    render()
    {
        return(
        <ScrollView>
                <Text>
                    ברוכים הבאים למערכת הסקאוטינג
                </Text>
                <Input
                    text="שם משתמש:"
                    multiline={true}
                    placeholder=""
                    onChange={(value) => this.props.set(value.text)}
                />
                
                
                <TouchableOpacity style={styles.submit_btn} onPress={() => this.props.Login()}>
                    <Text style={styles.submitText}>SUBMIT</Text>
                </TouchableOpacity>
                <TouchableOpacity style={styles.submit_btn} onPress={(e) => this.props.BackToLogin(e)}>
                    <Text style={styles.submitText}>Back</Text>
                </TouchableOpacity>
        </ScrollView>
        )
    }
}
const styles = StyleSheet.create({
    container: {
        flex: 1,
        marginTop: 7
    },
    heading: {
        color: '#545454',
        fontSize: 16
    },
    input: {
        marginTop: 5
    },
    submit_btn: {
        marginTop: 20,
        height: 45,
        backgroundColor: '#0089ff',
        borderRadius: 5,
        justifyContent: 'center',
        alignItems: 'center'
    },
    submitText: {
        fontSize: 16,
        color: '#ffffff',
        marginVertical: 7
    }
});