mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-06 16:50:13 +08:00
24 lines
470 B
TypeScript
24 lines
470 B
TypeScript
import * as React from 'react';
|
|
import { View, Text, StyleSheet } from 'react-native';
|
|
|
|
export default function NativeStack() {
|
|
return (
|
|
<View style={styles.container}>
|
|
<Text style={styles.text}>Not supported on Web :(</Text>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
backgroundColor: '#eceff1',
|
|
},
|
|
text: {
|
|
fontSize: 16,
|
|
color: '#999',
|
|
},
|
|
});
|