Skip to content

Instantly share code, notes, and snippets.

@Kaperskyguru
Last active July 30, 2020 13:03
Show Gist options
  • Save Kaperskyguru/1c29e0759da174bb98999477be67b588 to your computer and use it in GitHub Desktop.
Save Kaperskyguru/1c29e0759da174bb98999477be67b588 to your computer and use it in GitHub Desktop.
import React from 'react';
import {
SafeAreaView,
StyleSheet,
ScrollView,
View,
Text,
StatusBar,
} from 'react-native';
import {
Header,
LearnMoreLinks,
Colors,
DebugInstructions,
ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen';
const App: () => React$Node = () => {
// ........
};
function WarnLogboxStack() {
console.warn('I have a useless stack!');
return <View></View>;
}
function ErrorLogboxStack() {
console.error('I have a error logbox!');
return <View></View>;
}
const styles = StyleSheet.create({
//...........
});
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment