mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
Added storage view, and updated the UI in general
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user