mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
199de62c74
* test - React Navigation Drawer * docs - updated documentation for the website * docs - added Drawer Navigator test to the website * actioning PR suggestions * docs - simple doc cleanup;
24 lines
534 B
JavaScript
24 lines
534 B
JavaScript
import 'react-native-gesture-handler';
|
|
import React from 'react';
|
|
import { StatusBar, StyleSheet, View } from 'react-native';
|
|
import { NavigationContainer } from '@react-navigation/native';
|
|
|
|
import AppNavigator from './AppNavigator';
|
|
|
|
export default function App() {
|
|
return (
|
|
<NavigationContainer>
|
|
<View style={styles.container}>
|
|
<StatusBar barStyle="dark-content" />
|
|
<AppNavigator />
|
|
</View>
|
|
</NavigationContainer>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
},
|
|
});
|