mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-23 04:00:15 +08:00
Update example to SDK32
This commit is contained in:
17
packages/stack/example/src/FullScreen.js
Normal file
17
packages/stack/example/src/FullScreen.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import 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