import React, { Component } from 'react';

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

import I18n from 'react-native-i18n'

class Profile extends Component{


  async _onPressAddStory(){
    try {
      
    }
  }
  render() {
    return (
      <View style={styles.container}>
        <Text style={styles.title}>Smeagles {I18n.t('profile')}</Text>
        <Text style={styles.body}> {JSON.stringify(this.props.users)}</Text>
        <Text style={styles.body}> Temporary for styling Skeleton </Text>
        <TouchableHighlight onPress={this._onPressAddStory}.bind(this)} style={styles.button}>
        <Text style={styles.buttonText}>
        </Text>
        </TouchableHighlight>
      </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,
  }
});

module.exports = Profile;

@@ -198,16 +198,8 @@
 %7B%0A%0A%0A
-  async 
 _onP
@@ -218,30 +218,8 @@
 ()%7B%0A
-    try %7B%0A      %0A    %7D
 %0A  %7D
@@ -563,17 +563,16 @@
 AddStory
-%7D
 .bind(th
@@ -599,32 +599,34 @@
 utton%7D%3E%0A        
+  
 %3CText style=%7Bsty
@@ -642,16 +642,38 @@
 nText%7D%3E%0A
+          Add Story%0A  
         

Fix error, need to add PressAddStory button