Added storage view, and updated the UI in general

This commit is contained in:
2018-08-21 07:10:22 +02:00
parent 41570fb15e
commit 5a10498da7
29 changed files with 472 additions and 24 deletions

View File

@@ -6,6 +6,7 @@ import {
import Tab from './Tab';
import Console from './Console';
import Requests from './Requests';
import Storage from './Storage';
const styles = StyleSheet.create({
container: {
@@ -15,7 +16,8 @@ const styles = StyleSheet.create({
const DevTool = ({
style,
includeStackTrace
includeStackTrace,
onClose,
}) => (
<View style={style || styles.container}>
<Tab
@@ -25,7 +27,11 @@ const DevTool = ({
}, {
name: 'Network',
view: <Requests />,
}, {
name: 'Storage',
view: <Storage />,
}]}
onClose={onClose}
/>
</View>
);