Skip to content

Commit

Permalink
Merge pull request #4 from keremcubuk/native-base
Browse files Browse the repository at this point in the history
Native base
  • Loading branch information
keremcubuk authored Nov 17, 2019
2 parents 7ab4520 + 4725183 commit 49e1dac
Show file tree
Hide file tree
Showing 53 changed files with 118 additions and 4,468 deletions.
21 changes: 7 additions & 14 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@
// Import all the third party stuff
import React, { useEffect } from 'react';
import { Provider } from 'react-redux';
import { Root, StyleProvider } from 'native-base';

// Import root app
import App from './containers/App';

import configureStore from './configureStore';
import createReducer from './reducers';
import getTheme from 'theme/components';
import commonColor from 'theme/variables/commonColor';

// Create redux store with history
const initialState = {};
Expand All @@ -32,17 +29,13 @@ function AppRoot() {
}, []);

return (
<StyleProvider style={getTheme(commonColor)}>
<Root>
<Provider store={store}>
<App
ref={nav => {
this.navigator = nav;
}}
/>
</Provider>
</Root>
</StyleProvider>
<Provider store={store}>
<App
ref={nav => {
this.navigator = nav;
}}
/>
</Provider>
);
}

Expand Down
39 changes: 0 additions & 39 deletions app/theme/components/Badge.js

This file was deleted.

11 changes: 0 additions & 11 deletions app/theme/components/Body.js

This file was deleted.

Loading

0 comments on commit 49e1dac

Please sign in to comment.