Loading.js 982 Bytes
import React,{ Component } from 'react'

import {View,Text,RefreshControl,Image,ScrollView,Dimensions,TextInput,TouchableOpacity,StatusBar,StyleSheet} from 'react-native'
import { post, get, put, delete as remove } from 'axios'
import AsyncStorage from '@react-native-community/async-storage';
import Loading from '../../assets/loading.svg'
class MainPage extends Component {

    state = {
        refreshing:false,
    }

    constructor(props) {

        super(props)
        
    }
    _onRefresh = () => {
        this.setState({refreshing: true});
        this.setState({
            refreshing:false,
        })

    }
    componentDidMount() {

    }
    render() {
        return (
            <View style={{height:"100%",width:"100%",flex:1,justifyContent:"center",alignSelf:"center",backgroundColor:"transparent"}}>
                <Loading style={{alignSelf:"center"}}/>
            </View>
        )

    }

}

const style=StyleSheet.create({
})
export default MainPage