From e27bbc9e0e668d8e54585ff23ad4fe3dbc7a779b Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 17 Feb 2020 16:03:11 +0000 Subject: [PATCH] Deploy website Deploy website version based on 4bc22c164d5df33e7e3837bb968ef8918d1babbe --- docs/next/toastandroid.html | 208 ++++++++++++++++---------- docs/next/toastandroid/index.html | 208 ++++++++++++++++---------- docs/next/view-style-props.html | 62 +++++++- docs/next/view-style-props/index.html | 62 +++++++- 4 files changed, 386 insertions(+), 154 deletions(-) diff --git a/docs/next/toastandroid.html b/docs/next/toastandroid.html index a3f31f33730..43e48e8c6f5 100644 --- a/docs/next/toastandroid.html +++ b/docs/next/toastandroid.html @@ -1,4 +1,4 @@ -ToastAndroid · React Native
Edit

ToastAndroid

This exposes the native ToastAndroid module as a JS module. This has a function 'show' which takes the following parameters:

-
    -
  1. String message: A string with the text to toast
  2. -
  3. int duration: The duration of the toast. May be ToastAndroid.SHORT or ToastAndroid.LONG
  4. -
-

There is also a function showWithGravity to specify the layout gravity. May be ToastAndroid.TOP, ToastAndroid.BOTTOM, ToastAndroid.CENTER.

-

The 'showWithGravityAndOffset' function adds on the ability to specify offset These offset values will translate to pixels.

-

Basic usage:

-
import {ToastAndroid} from 'react-native';
+        
Edit

ToastAndroid

React Native's ToastAndroid API exposes the Android platform's ToastAndroid module as a JS module. It provides the method show(message, duration) which takes the following parameters:

+
    +
  • message A string with the text to toast
  • +
  • duration The duration of the toast—either ToastAndroid.SHORT or ToastAndroid.LONG
  • +
+

You can alternatively use showWithGravity(message, duration, gravity) to specify where the toast appears in the screen's layout. May be ToastAndroid.TOP, ToastAndroid.BOTTOM or ToastAndroid.CENTER.

+

The 'showWithGravityAndOffset(message, duration, gravity, xOffset, yOffset)' method adds the ability to specify an offset with in pixels.

+

Imperative hack

+

The ToastAndroid API is imperative, but there is a way to expose a declarative component from it as in this example:

+

Reference

Methods

show()

diff --git a/docs/next/toastandroid/index.html b/docs/next/toastandroid/index.html index a3f31f33730..43e48e8c6f5 100644 --- a/docs/next/toastandroid/index.html +++ b/docs/next/toastandroid/index.html @@ -1,4 +1,4 @@ -ToastAndroid · React Native
Edit

ToastAndroid

This exposes the native ToastAndroid module as a JS module. This has a function 'show' which takes the following parameters:

-
    -
  1. String message: A string with the text to toast
  2. -
  3. int duration: The duration of the toast. May be ToastAndroid.SHORT or ToastAndroid.LONG
  4. -
-

There is also a function showWithGravity to specify the layout gravity. May be ToastAndroid.TOP, ToastAndroid.BOTTOM, ToastAndroid.CENTER.

-

The 'showWithGravityAndOffset' function adds on the ability to specify offset These offset values will translate to pixels.

-

Basic usage:

-
import {ToastAndroid} from 'react-native';
+        
Edit

ToastAndroid

React Native's ToastAndroid API exposes the Android platform's ToastAndroid module as a JS module. It provides the method show(message, duration) which takes the following parameters:

+
    +
  • message A string with the text to toast
  • +
  • duration The duration of the toast—either ToastAndroid.SHORT or ToastAndroid.LONG
  • +
+

You can alternatively use showWithGravity(message, duration, gravity) to specify where the toast appears in the screen's layout. May be ToastAndroid.TOP, ToastAndroid.BOTTOM or ToastAndroid.CENTER.

+

The 'showWithGravityAndOffset(message, duration, gravity, xOffset, yOffset)' method adds the ability to specify an offset with in pixels.

+

Imperative hack

+

The ToastAndroid API is imperative, but there is a way to expose a declarative component from it as in this example:

+

Reference

Methods

show()

diff --git a/docs/next/view-style-props.html b/docs/next/view-style-props.html index ac247c4346c..8b28659ad0b 100644 --- a/docs/next/view-style-props.html +++ b/docs/next/view-style-props.html @@ -1,4 +1,4 @@ -View Style Props · React Native
Edit

View Style Props

Reference

+
Edit

View Style Props

Example

+

Reference

Props

borderRightColor

diff --git a/docs/next/view-style-props/index.html b/docs/next/view-style-props/index.html index ac247c4346c..8b28659ad0b 100644 --- a/docs/next/view-style-props/index.html +++ b/docs/next/view-style-props/index.html @@ -1,4 +1,4 @@ -View Style Props · React Native
Edit

View Style Props

Reference

+
Edit

View Style Props

Example

+

Reference

Props

borderRightColor