// App.js
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import Settings from './screens/Settings';
import { Provider } from 'react-redux';
import { createStore } from 'redux';
import rootReducer from './reducers';
const initialState = {
settings: []
}
const store = createStore(rootReducer, initialState);
export default function App() {
return (
<Provider store={store}>
<Settings />
</Provider>
);
}
view raw App.js hosted with ❤ by GitHub