import React, { Component } from 'react';

import {
  StyleSheet,
  Text,
  View,
  TouchableHighlight,
} from 'react-native';

import I18n from 'react-native-i18n'

class Profile extends Component{


_onPressAddStory(){

  }

  featuredStory() {

  }

  render() {
    return (
      <View style={styles.container}>
        <Text style={styles.title}>Smeagles {I18n.t('profile')}</Text>


        <Text style={styles.featuredStory}>"My day today was very interesting. First I woke up late and I couldn't find my clean clothes and my mom......"</Text>
        <Text style={styles.featuredStoryArabic}>كان يوم لي اليوم مثيرة جدا للاهتمام. أولا استيقظت في وقت متأخر، وأنا لا يمكن أن تجد لي ملابس نظيفة وأمي</Text>


        <TouchableHighlight onPress={this._onPressAddStory.bind(this)} style={styles.button}>
        <Text style={styles.buttonText}>
        Add Story
        </Text>
        </TouchableHighlight>


        <Text style={styles.body}> {JSON.stringify(this.props.users)}</Text>
        <Text style={styles.body}> Temporary for styling Skeleton </Text>
      </View>
    )
  }
};

var styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
  title: {
   marginTop: 25,
   fontSize: 20,
   alignSelf: 'center',
   margin: 40,
  },
  body: {
    flex: 0.1,
  },
  button: {
    height: 50,
    backgroundColor: '#48BBEC',
    alignSelf: 'stretch',
    marginTop: 10,
    justifyContent: 'center'
  },
  buttonText: {
    textAlign: 'center',
  },
  featuredStory: {
    backgroundColor: 'lightgrey',
  },
  featuredStoryArabic: {
    backgroundColor: 'lightgrey',
  },
  
});

module.exports = Profile;

import React, { Component } from 'react';

import {
  StyleSheet,
  Text,
  View,
  TouchableHighlight,
} from 'react-native';

import I18n from 'react-native-i18n'

class Profile extends Component{


_onPressAddStory(){

  }

_onPressViewMessages(){

}

  featuredStory() {

  }



  render() {
    return (
      <View style={styles.container}>
        <Text style={styles.title}>Smeagles {I18n.t('profile')}</Text>


        <Text style={styles.featuredStory}>"My day today was very interesting. First I woke up late and I couldn't find my clean clothes and my mom......"</Text>
        <Text style={styles.featuredStoryArabic}>كان يوم لي اليوم مثيرة جدا للاهتمام. أولا استيقظت في وقت متأخر، وأنا لا يمكن أن تجد لي ملابس نظيفة وأمي</Text>



        <TouchableHighlight onPress={this._onPressAddStory.bind(this)} style={styles.button}>
        <Text style={styles.buttonText}>
        Add Story
        </Text>
        </TouchableHighlight>

        <TouchableHighlight onPress={this._onPressViewMessages.bind(this)} style={styles.button}>
        <Text style={styles.buttonText}>
        View Messages
        </Text>
        </TouchableHighlight>


        <Text style={styles.body}> {JSON.stringify(this.props.users)}</Text>
        <Text style={styles.body}> This will be a list of user stories </Text>
      </View>
    )
  }
};

var styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
  title: {
   marginTop: 25,
   fontSize: 20,
   alignSelf: 'center',
   margin: 40,
  },
  body: {
    flex: 0.1,
  },
  button: {
    height: 50,
    backgroundColor: '#48BBEC',
    alignSelf: 'stretch',
    marginTop: 10,
    justifyContent: 'center'
  },
  buttonText: {
    textAlign: 'center',
  },
  featuredStory: {
    backgroundColor: 'lightgrey',
  },
  featuredStoryArabic: {
    backgroundColor: 'lightgrey',
  },
});

module.exports = Profile;

Add view messages button, reformat