-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d5e9b1
commit 4898e02
Showing
13 changed files
with
5,869 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "rallycoding", | ||
"rules": { | ||
"semi": [2, "never"], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "src/core-modules"] | ||
path = src/core-modules | ||
url = [email protected]:carlosjunod/CoreModule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
import React from 'react'; | ||
import { StyleSheet, Text, View } from 'react-native'; | ||
import React from 'react' | ||
// import { StyleSheet, Text, View } from 'react-native'; | ||
|
||
import { Provider } from 'react-redux' | ||
import { createStore } from 'redux' | ||
|
||
import MedList from './src/containers/MedList' | ||
|
||
|
||
import medicineReducer from './src/core-modules/reducers' | ||
|
||
|
||
// const store = createStore(medicineReducer, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()) | ||
const store = createStore(medicineReducer, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()) | ||
|
||
export default class App extends React.Component { | ||
render() { | ||
console.log('lalalal') | ||
return ( | ||
<View style={styles.container}> | ||
<Text>Open up App.js to start working on your app!</Text> | ||
<Text>Changes you make will automatically reload.</Text> | ||
<Text>Shake your phone to open the developer menu.</Text> | ||
</View> | ||
); | ||
<Provider store={store} > | ||
<MedList /> | ||
</Provider> | ||
) | ||
} | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: '#fff', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); |
Oops, something went wrong.