mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-06 22:46:01 +08:00
16 lines
361 B
JavaScript
16 lines
361 B
JavaScript
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 });
|