Revize 5ed9692c
Přidáno uživatelem Schwobik před asi 2 roky(ů)
App.tsx | ||
---|---|---|
2 | 2 |
import { StyleSheet, Text, View } from 'react-native' |
3 | 3 |
import { NativeBaseProvider, Box } from "native-base" |
4 | 4 |
import LoginPage from './src/pages/LoginPage' |
5 |
import ScrollViewTest from "./src/pages/ScrollViewTest" |
|
5 |
import { Provider } from "react-redux" |
|
6 |
import store from "./src/stores/store" |
|
6 | 7 |
|
7 | 8 |
export default function App() { |
8 | 9 |
return ( |
9 |
<NativeBaseProvider> |
|
10 |
<ScrollViewTest /> |
|
11 |
</NativeBaseProvider> |
|
10 |
<Provider store={store}> |
|
11 |
<NativeBaseProvider> |
|
12 |
<LoginPage /> |
|
13 |
</NativeBaseProvider> |
|
14 |
</Provider> |
|
12 | 15 |
) |
13 | 16 |
} |
14 | 17 |
|
Také k dispozici: Unified diff
#re 10171
Demo of application login with redux, axios and nativeBase. Tested