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 {
|
||||
Button,
|
||||
KeyboardAvoidingView,
|
||||
SafeAreaView,
|
||||
AsyncStorage,
|
||||
} from 'react-native';
|
||||
import {
|
||||
DevTool,
|
||||
@@ -26,12 +27,18 @@ xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', 'https://google.com/sdfsfsdfsfdf');
|
||||
xhr.send();
|
||||
|
||||
AsyncStorage.setItem('a', 'b');
|
||||
AsyncStorage.setItem('b', 'c');
|
||||
AsyncStorage.setItem('c', 'd');
|
||||
|
||||
const t = new Promise((resolve, reject) => {
|
||||
setTimeout(() => {
|
||||
throw new Error('everything is broken');
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
|
||||
|
||||
export default class App extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user