27 lines
658 B
TypeScript
27 lines
658 B
TypeScript
import React from 'react'
|
|
import { ActivityIndicator, View } from 'react-native'
|
|
import { Provider } from 'react-redux'
|
|
import { PersistGate } from 'redux-persist/integration/react'
|
|
import { store, persistor } from '@store' //NOSONAR
|
|
import ExpoBare from '@containers/ExpoBare/ExpoBare' //NOSONAR
|
|
|
|
export default class App extends React.Component<any, any> {
|
|
|
|
constructor(Props: any) {
|
|
super(Props)
|
|
|
|
this.state = {
|
|
users: []
|
|
}
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<Provider store={store}>
|
|
<PersistGate loading={<ActivityIndicator />} persistor={persistor}>
|
|
<ExpoBare />
|
|
</PersistGate>
|
|
</Provider>
|
|
)
|
|
}
|
|
} |