Add a title in modal example

This commit is contained in:
Brent Vatne committed 2018-11-26 09:27:14 -08:00
1 parent af83d75731
commit 680dc515ad
1 file changed
+4
+4
View File
@@ -3,6 +3,10 @@ import { Button, View, Text } from 'react-native';
import { createStackNavigator } from 'react-navigation-stack';
class ListScreen extends React.Component {
static navigationOptions = {
title: 'My Modal',
};
render() {
return (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>