Skip to content

Commit

Permalink
inspect tool working
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosjunod committed Aug 12, 2017
1 parent 6d5e9b1 commit 4898e02
Show file tree
Hide file tree
Showing 13 changed files with 5,869 additions and 20 deletions.
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "rallycoding",
"rules": {
"semi": [2, "never"],
}
}
3 changes: 3 additions & 0 deletions .gitmodules
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
36 changes: 19 additions & 17 deletions App.js
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',
},
});
Loading

0 comments on commit 4898e02

Please sign in to comment.