mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-12 18:08:21 +08:00
chore: migrate example to TS
This commit is contained in:
15
packages/stack/example/src/FullScreen.tsx
Normal file
15
packages/stack/example/src/FullScreen.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import * as React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import { createStackNavigator } from 'react-navigation-stack';
|
||||
|
||||
class Screen extends React.Component {
|
||||
static navigationOptions = {
|
||||
header: null,
|
||||
};
|
||||
|
||||
render() {
|
||||
return <View style={{ flex: 1, backgroundColor: 'red' }} />;
|
||||
}
|
||||
}
|
||||
|
||||
export default createStackNavigator({ Screen });
|
||||
Reference in New Issue
Block a user