From cc9f720b2d42634157eaa1b4e2ae3dd7b4a2ec7c Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sat, 26 Jan 2019 00:33:51 +0000 Subject: [PATCH] Deploy website Deploy website version based on d30c6c93dcbd224c38ed5572dc87e40a0f172bae --- docs/0.56/text.html | 24 ------------------- docs/0.56/text/index.html | 24 ------------------- docs/next/running-on-simulator-ios.html | 2 +- docs/next/running-on-simulator-ios/index.html | 2 +- docs/next/text.html | 24 ------------------- docs/next/text/index.html | 24 ------------------- docs/text.html | 24 ------------------- docs/text/index.html | 24 ------------------- 8 files changed, 2 insertions(+), 146 deletions(-) diff --git a/docs/0.56/text.html b/docs/0.56/text.html index ca887efd5bd..099a84c5a30 100644 --- a/docs/0.56/text.html +++ b/docs/0.56/text.html @@ -103,30 +103,6 @@ AppRegistry.registerComponent('AwesomeProject', 0-9: bold 9-17: bold, red -

Nested views (iOS only)

-

On iOS, you can nest views within your Text component. Here's an example:

-
import React, { Component } from 'react';
-import { AppRegistry, Text, View } from 'react-native';
-
-export default class BlueIsCool extends Component {
-  render() {
-    return (
-      <Text>
-        There is a blue square
-        <View style={{width: 50, height: 50, backgroundColor: 'steelblue'}} />
-        in between my text.
-      </Text>
-    );
-  }
-}
-
-// skip this line if using Create React Native App
-AppRegistry.registerComponent('AwesomeProject', () => BlueIsCool);
-
- -
-

In order to use this feature, you must give the view a width and a height.

-

Containers

The <Text> element is special relative to layout: everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a <Text> are no longer rectangles, but wrap when they see the end of the line.

<Text>
diff --git a/docs/0.56/text/index.html b/docs/0.56/text/index.html
index ca887efd5bd..099a84c5a30 100644
--- a/docs/0.56/text/index.html
+++ b/docs/0.56/text/index.html
@@ -103,30 +103,6 @@ AppRegistry.registerComponent('AwesomeProject',
 0-9: bold
 9-17: bold, red
 
-

Nested views (iOS only)

-

On iOS, you can nest views within your Text component. Here's an example:

-
import React, { Component } from 'react';
-import { AppRegistry, Text, View } from 'react-native';
-
-export default class BlueIsCool extends Component {
-  render() {
-    return (
-      <Text>
-        There is a blue square
-        <View style={{width: 50, height: 50, backgroundColor: 'steelblue'}} />
-        in between my text.
-      </Text>
-    );
-  }
-}
-
-// skip this line if using Create React Native App
-AppRegistry.registerComponent('AwesomeProject', () => BlueIsCool);
-
- -
-

In order to use this feature, you must give the view a width and a height.

-

Containers

The <Text> element is special relative to layout: everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a <Text> are no longer rectangles, but wrap when they see the end of the line.

<Text>
diff --git a/docs/next/running-on-simulator-ios.html b/docs/next/running-on-simulator-ios.html
index 033835b090c..2d9a986ab38 100644
--- a/docs/next/running-on-simulator-ios.html
+++ b/docs/next/running-on-simulator-ios.html
@@ -36,7 +36,7 @@
         
Edit

Running On Simulator

Starting the simulator

Once you have your React Native project initialized, you can run react-native run-ios inside the newly created project directory. If everything is set up correctly, you should see your new app running in the iOS Simulator shortly.

Specifying a device

-

You can specify the device the simulator should run with the --simulator flag, followed by the device name as a string. The default is "iPhone 6". If you wish to run your app on an iPhone 4s, just run react-native run-ios --simulator="iPhone 4s".

+

You can specify the device the simulator should run with the --simulator flag, followed by the device name as a string. The default is "iPhone X". If you wish to run your app on an iPhone 4s, just run react-native run-ios --simulator="iPhone 4s".

The device names correspond to the list of devices available in Xcode. You can check your available devices by running xcrun simctl list devices from the console.

Edit

Running On Simulator

Starting the simulator

Once you have your React Native project initialized, you can run react-native run-ios inside the newly created project directory. If everything is set up correctly, you should see your new app running in the iOS Simulator shortly.

Specifying a device

-

You can specify the device the simulator should run with the --simulator flag, followed by the device name as a string. The default is "iPhone 6". If you wish to run your app on an iPhone 4s, just run react-native run-ios --simulator="iPhone 4s".

+

You can specify the device the simulator should run with the --simulator flag, followed by the device name as a string. The default is "iPhone X". If you wish to run your app on an iPhone 4s, just run react-native run-ios --simulator="iPhone 4s".

The device names correspond to the list of devices available in Xcode. You can check your available devices by running xcrun simctl list devices from the console.