This commit is contained in:
Morten
2018-08-14 10:24:19 +02:00
commit 38b440e2f6
33 changed files with 12188 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
import React from 'react';
import {
StyleSheet,
View,
} from 'react-native';
import Tab from './Tab';
import Console from './Console';
import Requests from './Requests';
const styles = StyleSheet.create({
container: {
flex: 1,
},
});
const DevTool = ({
style,
}) => (
<View style={style || styles.container}>
<Tab
tabs={[{
name: 'console',
view: <Console />,
}, {
name: 'network',
view: <Requests />,
}]}
/>
</View>
);
export default DevTool;