Skip to content

Instantly share code, notes, and snippets.

@Kaperskyguru
Last active July 30, 2020 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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