From 39bbb440e6c9639b32da5b951a56a4a21ed50a64 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 27 Jun 2018 16:08:58 +0000 Subject: [PATCH] Deploy website Deploy website version based on 6473680c6c64449a9ffaf24a78c91e7251aafa33 --- docs/next/modal.html | 4 ++-- docs/next/modal/index.html | 4 ++-- docs/next/navigation.html | 2 ++ docs/next/navigation/index.html | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/next/modal.html b/docs/next/modal.html index 95e4a3585a5..ec803d55650 100644 --- a/docs/next/modal.html +++ b/docs/next/modal.html @@ -34,7 +34,7 @@

Note: If you need more control over how to present modals over the rest of your app, then consider using a top-level Navigator.

import React, {Component} from 'react';
-import {Modal, Text, TouchableHighlight, View} from 'react-native';
+import {Modal, Text, TouchableHighlight, View, Alert} from 'react-native';
 
 class ModalExample extends Component {
   state = {
@@ -53,7 +53,7 @@
           transparent={false}
           visible={this.state.modalVisible}
           onRequestClose={() => {
-            alert('Modal has been closed.');
+            Alert.alert('Modal has been closed.');
           }}>
           <View style={{marginTop: 22}}>
             <View>
diff --git a/docs/next/modal/index.html b/docs/next/modal/index.html
index 95e4a3585a5..ec803d55650 100644
--- a/docs/next/modal/index.html
+++ b/docs/next/modal/index.html
@@ -34,7 +34,7 @@
 

Note: If you need more control over how to present modals over the rest of your app, then consider using a top-level Navigator.

import React, {Component} from 'react';
-import {Modal, Text, TouchableHighlight, View} from 'react-native';
+import {Modal, Text, TouchableHighlight, View, Alert} from 'react-native';
 
 class ModalExample extends Component {
   state = {
@@ -53,7 +53,7 @@
           transparent={false}
           visible={this.state.modalVisible}
           onRequestClose={() => {
-            alert('Modal has been closed.');
+            Alert.alert('Modal has been closed.');
           }}>
           <View style={{marginTop: 22}}>
             <View>
diff --git a/docs/next/navigation.html b/docs/next/navigation.html
index 97a05737187..1991eb4dd05 100644
--- a/docs/next/navigation.html
+++ b/docs/next/navigation.html
@@ -47,6 +47,8 @@ const App = createStackNavigator({
   Home: { screen: HomeScreen },
   Profile: { screen: ProfileScreen },
 });
+
+export default App;
 

Each screen component can set navigation options such as the header title. It can use action creators on the navigation prop to link to other screens:

class HomeScreen extends React.Component {
diff --git a/docs/next/navigation/index.html b/docs/next/navigation/index.html
index 97a05737187..1991eb4dd05 100644
--- a/docs/next/navigation/index.html
+++ b/docs/next/navigation/index.html
@@ -47,6 +47,8 @@ const App = createStackNavigator({
   Home: { screen: HomeScreen },
   Profile: { screen: ProfileScreen },
 });
+
+export default App;
 

Each screen component can set navigation options such as the header title. It can use action creators on the navigation prop to link to other screens:

class HomeScreen extends React.Component {