text: import React, {Component} from 'react';
  import * as firebase from 'firebase';
  import AppPreLoader from '../components/AppPreLoader';
  import{TouchableOpacity, Dimensions, View, Image, FlatList, ScrollView} from 'react-native';
  import {Grid, Row, Col } from 'react-native-easy-grid';
  import { Container, Text} from 'native-base';
  import ConfigApp from '../utils/ConfigApp';
  import HTML from 'react-native-render-html';
  import { Ionicons } from '@expo/vector-icons';
  
  import Strings from '../utils/Strings';
  
  
  var styles = require('../../assets/files/Styles');
  var {height, width} = Dimensions.get('window');
  
  export default class AboutUs extends Component {
     static navigationOptions = ({ navigation }) => ({
      title: `${Strings.ST9.toUpperCase()}`,
      headerLeft: () =>  <Ionicons name={'md-arrow-back'} onPress={ () => { navigation.goBack() }} style={styles.arrowbackicon}/>,
      });
  
  
  _isMounted = false;
  
  
  constructor(props) {
  
      super(props);
  
      this.state = {
        isLoading: true
      }
  
    }
  
    componentDidMount() {
      
         this._isMounted = true;
         
         return fetch(ConfigApp.URL+'json/data_strings.php')
           .then((response) => response.json())
           .then((responseJson) => {
            if (this._isMounted) {
  
             this.setState({
               isLoading: false,
               dataSource: responseJson[0]
             }, function() {
             });
             }
           })
           .catch((error) => {
             console.error(error);
           });
       }
  
    componentWillUnmount() {
      this._isMounted = false;
    }
  
  
    render () {
  
      const item = this.state.dataSource;
  
        if (this.state.isLoading) {
        return (
          <AppPreLoader/>
        );
      }
  
      return (
  
  <Container style={styles.background_general}>
  <ScrollView showsVerticalScrollIndicator ={false} showsHorizontalScrollIndicator={false}>
  
  <View style={{padding: 20}}>
  
  <HTML html={item.st_aboutus} /> 
  
  </View>
  </ScrollView>
  
  </Container>
  
      )
    }
  
  }