diff --git a/docs/asyncstorage.html b/docs/asyncstorage.html index 388e8395a99..f300a40bbe9 100644 --- a/docs/asyncstorage.html +++ b/docs/asyncstorage.html @@ -1,4 +1,4 @@ -AsyncStorage · React Native
Edit

AsyncStorage

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

+
Edit

AsyncStorage

+

Deprecated. Use react-native-community/react-native-async-storage instead.

+
+

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

It is recommended that you use an abstraction on top of AsyncStorage instead of AsyncStorage directly for anything more than light usage since it operates globally.

On iOS, AsyncStorage is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, AsyncStorage will use either RocksDB or SQLite based on what is available.

The AsyncStorage JavaScript code is a simple facade that provides a clear JavaScript API, real Error objects, and simple non-multi functions. Each method in the API returns a Promise object.

diff --git a/docs/asyncstorage/index.html b/docs/asyncstorage/index.html index 388e8395a99..f300a40bbe9 100644 --- a/docs/asyncstorage/index.html +++ b/docs/asyncstorage/index.html @@ -1,4 +1,4 @@ -AsyncStorage · React Native
Edit

AsyncStorage

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

+
Edit

AsyncStorage

+

Deprecated. Use react-native-community/react-native-async-storage instead.

+
+

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

It is recommended that you use an abstraction on top of AsyncStorage instead of AsyncStorage directly for anything more than light usage since it operates globally.

On iOS, AsyncStorage is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, AsyncStorage will use either RocksDB or SQLite based on what is available.

The AsyncStorage JavaScript code is a simple facade that provides a clear JavaScript API, real Error objects, and simple non-multi functions. Each method in the API returns a Promise object.

diff --git a/docs/imagestore.html b/docs/imagestore.html index 6db9f4cc833..b90d9c6d13d 100644 --- a/docs/imagestore.html +++ b/docs/imagestore.html @@ -1,4 +1,4 @@ -ImageStore · React Native
Edit

ImageStore

Methods

+
Edit

ImageStore

+

Deprecated. Use expo-file-system or react-native-fs instead.

+
+

Methods

  • hasImageForTag
  • removeImageForTag
  • diff --git a/docs/imagestore/index.html b/docs/imagestore/index.html index 6db9f4cc833..b90d9c6d13d 100644 --- a/docs/imagestore/index.html +++ b/docs/imagestore/index.html @@ -1,4 +1,4 @@ -ImageStore · React Native
Edit

ImageStore

Methods

+
Edit

ImageStore

+

Deprecated. Use expo-file-system or react-native-fs instead.

+
+

Methods

  • hasImageForTag
  • removeImageForTag
  • diff --git a/docs/maskedviewios.html b/docs/maskedviewios.html index 538fc768fae..187f2f8212d 100644 --- a/docs/maskedviewios.html +++ b/docs/maskedviewios.html @@ -1,4 +1,4 @@ -MaskedViewIOS · React Native
Edit

MaskedViewIOS

Renders the child view with a mask specified in the maskElement prop.

+
Edit

MaskedViewIOS

+

Deprecated. Use react-native-community/react-native-masked-view instead.

+
+

Renders the child view with a mask specified in the maskElement prop.

Example

import React from 'react';
 import {MaskedViewIOS, Text, View} from 'react-native';
diff --git a/docs/maskedviewios/index.html b/docs/maskedviewios/index.html
index 538fc768fae..187f2f8212d 100644
--- a/docs/maskedviewios/index.html
+++ b/docs/maskedviewios/index.html
@@ -1,4 +1,4 @@
-MaskedViewIOS · React Native
Edit

MaskedViewIOS

Renders the child view with a mask specified in the maskElement prop.

+
Edit

MaskedViewIOS

+

Deprecated. Use react-native-community/react-native-masked-view instead.

+
+

Renders the child view with a mask specified in the maskElement prop.

Example

import React from 'react';
 import {MaskedViewIOS, Text, View} from 'react-native';
diff --git a/docs/netinfo.html b/docs/netinfo.html
index 3847ffb8328..f3395601dfa 100644
--- a/docs/netinfo.html
+++ b/docs/netinfo.html
@@ -1,4 +1,4 @@
-NetInfo · React Native
Edit

NetInfo

NetInfo exposes info about online/offline status

+
Edit

NetInfo

+

Deprecated. Use react-native-community/react-native-netinfo instead.

+
+

NetInfo exposes info about online/offline status

NetInfo.getConnectionInfo().then((connectionInfo) => {
   console.log(
     'Initial, type: ' +
diff --git a/docs/netinfo/index.html b/docs/netinfo/index.html
index 3847ffb8328..f3395601dfa 100644
--- a/docs/netinfo/index.html
+++ b/docs/netinfo/index.html
@@ -1,4 +1,4 @@
-NetInfo · React Native
Edit

NetInfo

NetInfo exposes info about online/offline status

+
Edit

NetInfo

+

Deprecated. Use react-native-community/react-native-netinfo instead.

+
+

NetInfo exposes info about online/offline status

NetInfo.getConnectionInfo().then((connectionInfo) => {
   console.log(
     'Initial, type: ' +
diff --git a/docs/next/asyncstorage.html b/docs/next/asyncstorage.html
index c18c85422c8..0c852b327fe 100644
--- a/docs/next/asyncstorage.html
+++ b/docs/next/asyncstorage.html
@@ -1,4 +1,4 @@
-AsyncStorage · React Native
Edit

AsyncStorage

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

+
Edit

AsyncStorage

+

Deprecated. Use react-native-community/react-native-async-storage instead.

+
+

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

It is recommended that you use an abstraction on top of AsyncStorage instead of AsyncStorage directly for anything more than light usage since it operates globally.

On iOS, AsyncStorage is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, AsyncStorage will use either RocksDB or SQLite based on what is available.

The AsyncStorage JavaScript code is a simple facade that provides a clear JavaScript API, real Error objects, and simple non-multi functions. Each method in the API returns a Promise object.

diff --git a/docs/next/asyncstorage/index.html b/docs/next/asyncstorage/index.html index c18c85422c8..0c852b327fe 100644 --- a/docs/next/asyncstorage/index.html +++ b/docs/next/asyncstorage/index.html @@ -1,4 +1,4 @@ -AsyncStorage · React Native
Edit

AsyncStorage

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

+
Edit

AsyncStorage

+

Deprecated. Use react-native-community/react-native-async-storage instead.

+
+

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

It is recommended that you use an abstraction on top of AsyncStorage instead of AsyncStorage directly for anything more than light usage since it operates globally.

On iOS, AsyncStorage is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, AsyncStorage will use either RocksDB or SQLite based on what is available.

The AsyncStorage JavaScript code is a simple facade that provides a clear JavaScript API, real Error objects, and simple non-multi functions. Each method in the API returns a Promise object.

diff --git a/docs/next/backandroid.html b/docs/next/backandroid.html index 2bc251c51ba..67e6ef2bcf5 100644 --- a/docs/next/backandroid.html +++ b/docs/next/backandroid.html @@ -1,4 +1,4 @@ -BackAndroid · React Native
Edit

BackAndroid

Deprecated. Use BackHandler instead.

+
Edit

BackAndroid

+

Deprecated. Use BackHandler instead.

+

Methods

  • exitApp
  • diff --git a/docs/next/backandroid/index.html b/docs/next/backandroid/index.html index 2bc251c51ba..67e6ef2bcf5 100644 --- a/docs/next/backandroid/index.html +++ b/docs/next/backandroid/index.html @@ -1,4 +1,4 @@ -BackAndroid · React Native
Edit

BackAndroid

Deprecated. Use BackHandler instead.

+
Edit

BackAndroid

+

Deprecated. Use BackHandler instead.

+

Methods

  • exitApp
  • diff --git a/docs/next/imagestore.html b/docs/next/imagestore.html index 5999679c9b2..66b566bb99e 100644 --- a/docs/next/imagestore.html +++ b/docs/next/imagestore.html @@ -1,4 +1,4 @@ -ImageStore · React Native
Edit

ImageStore

Methods

+
Edit

ImageStore

+

Deprecated. Use expo-file-system or react-native-fs instead.

+
+

Methods

  • hasImageForTag
  • removeImageForTag
  • diff --git a/docs/next/imagestore/index.html b/docs/next/imagestore/index.html index 5999679c9b2..66b566bb99e 100644 --- a/docs/next/imagestore/index.html +++ b/docs/next/imagestore/index.html @@ -1,4 +1,4 @@ -ImageStore · React Native
Edit

ImageStore

Methods

+
Edit

ImageStore

+

Deprecated. Use expo-file-system or react-native-fs instead.

+
+

Methods

  • hasImageForTag
  • removeImageForTag
  • diff --git a/docs/next/listview.html b/docs/next/listview.html index 6d203a61ca6..5a29a49c959 100644 --- a/docs/next/listview.html +++ b/docs/next/listview.html @@ -1,4 +1,4 @@ -ListView · React Native
Edit

ListView

DEPRECATED - use one of the new list components, such as FlatList or SectionList for bounded memory use, fewer bugs, better performance, an easier to use API, and more features. Check out this blog post for more details.

+
Edit

ListView

+

Deprecated - use one of the new list components, such as FlatList or SectionList for bounded memory use, fewer bugs, better performance, an easier to use API, and more features. Check out this blog post for more details.

+

ListView - A core component designed for efficient display of vertically scrolling lists of changing data. The minimal API is to create a ListView.DataSource, populate it with a simple array of data blobs, and instantiate a ListView component with that data source and a renderRow callback which takes a blob from the data array and returns a renderable component.

Minimal example:

class MyComponent extends Component {
diff --git a/docs/next/listview/index.html b/docs/next/listview/index.html
index 6d203a61ca6..5a29a49c959 100644
--- a/docs/next/listview/index.html
+++ b/docs/next/listview/index.html
@@ -1,4 +1,4 @@
-ListView · React Native
Edit

ListView

DEPRECATED - use one of the new list components, such as FlatList or SectionList for bounded memory use, fewer bugs, better performance, an easier to use API, and more features. Check out this blog post for more details.

+
Edit

ListView

+

Deprecated - use one of the new list components, such as FlatList or SectionList for bounded memory use, fewer bugs, better performance, an easier to use API, and more features. Check out this blog post for more details.

+

ListView - A core component designed for efficient display of vertically scrolling lists of changing data. The minimal API is to create a ListView.DataSource, populate it with a simple array of data blobs, and instantiate a ListView component with that data source and a renderRow callback which takes a blob from the data array and returns a renderable component.

Minimal example:

class MyComponent extends Component {
diff --git a/docs/next/maskedviewios.html b/docs/next/maskedviewios.html
index 0f9768c84eb..1a750343528 100644
--- a/docs/next/maskedviewios.html
+++ b/docs/next/maskedviewios.html
@@ -1,4 +1,4 @@
-MaskedViewIOS · React Native
Edit

MaskedViewIOS

Renders the child view with a mask specified in the maskElement prop.

+
Edit

MaskedViewIOS

+

Deprecated. Use react-native-community/react-native-masked-view instead.

+
+

Renders the child view with a mask specified in the maskElement prop.

Example

import React from 'react';
 import {MaskedViewIOS, Text, View} from 'react-native';
diff --git a/docs/next/maskedviewios/index.html b/docs/next/maskedviewios/index.html
index 0f9768c84eb..1a750343528 100644
--- a/docs/next/maskedviewios/index.html
+++ b/docs/next/maskedviewios/index.html
@@ -1,4 +1,4 @@
-MaskedViewIOS · React Native
Edit

MaskedViewIOS

Renders the child view with a mask specified in the maskElement prop.

+
Edit

MaskedViewIOS

+

Deprecated. Use react-native-community/react-native-masked-view instead.

+
+

Renders the child view with a mask specified in the maskElement prop.

Example

import React from 'react';
 import {MaskedViewIOS, Text, View} from 'react-native';
diff --git a/docs/next/modal.html b/docs/next/modal.html
index 0a6b92c3725..bc00fd1e96e 100644
--- a/docs/next/modal.html
+++ b/docs/next/modal.html
@@ -226,7 +226,9 @@
 
 

animated

-

Deprecated. Use the animationType prop instead.

+
+

Deprecated. Use the animationType prop instead.

+
Edit

NetInfo

NOTE: NetInfo is being deprecated. Use react-native-community/react-native-netinfo instead.

+
Edit

NetInfo

+

Deprecated. Use react-native-community/react-native-netinfo instead.

+

NetInfo exposes info about online/offline status

NetInfo.getConnectionInfo().then((connectionInfo) => {
   console.log(
diff --git a/docs/next/netinfo/index.html b/docs/next/netinfo/index.html
index 5346e5ff424..2ec91ddf2db 100644
--- a/docs/next/netinfo/index.html
+++ b/docs/next/netinfo/index.html
@@ -1,4 +1,4 @@
-NetInfo · React Native
Edit

NetInfo

NOTE: NetInfo is being deprecated. Use react-native-community/react-native-netinfo instead.

+
Edit

NetInfo

+

Deprecated. Use react-native-community/react-native-netinfo instead.

+

NetInfo exposes info about online/offline status

NetInfo.getConnectionInfo().then((connectionInfo) => {
   console.log(
diff --git a/docs/next/slider.html b/docs/next/slider.html
index 6d4bd6395f8..6518842a48d 100644
--- a/docs/next/slider.html
+++ b/docs/next/slider.html
@@ -1,4 +1,4 @@
-Slider · React Native
Edit

Slider

A component used to select a single value from a range of values.

+
Edit

Slider

+

Deprecated. Use react-native-community/react-native-slider instead.

+
+

A component used to select a single value from a range of values.

Props

  • View props...
  • diff --git a/docs/next/slider/index.html b/docs/next/slider/index.html index 6d4bd6395f8..6518842a48d 100644 --- a/docs/next/slider/index.html +++ b/docs/next/slider/index.html @@ -1,4 +1,4 @@ -Slider · React Native
Edit

Slider

A component used to select a single value from a range of values.

+
Edit

Slider

+

Deprecated. Use react-native-community/react-native-slider instead.

+
+

A component used to select a single value from a range of values.

Props

  • View props...
  • diff --git a/docs/next/switch.html b/docs/next/switch.html index af1a3f3bd44..53e187f4021 100644 --- a/docs/next/switch.html +++ b/docs/next/switch.html @@ -120,7 +120,9 @@

    tintColor

    -

    tintColor is deprecated, use trackColor instead.

    +
    +

    tintColor is deprecated, use trackColor instead.

    +

    Border color on iOS and background color on Android when the switch is turned off.

    diff --git a/docs/next/switch/index.html b/docs/next/switch/index.html index af1a3f3bd44..53e187f4021 100644 --- a/docs/next/switch/index.html +++ b/docs/next/switch/index.html @@ -120,7 +120,9 @@

    tintColor

    -

    tintColor is deprecated, use trackColor instead.

    +
    +

    tintColor is deprecated, use trackColor instead.

    +

    Border color on iOS and background color on Android when the switch is turned off.

    diff --git a/docs/next/transforms.html b/docs/next/transforms.html index 67ff23bf331..a583e25559d 100644 --- a/docs/next/transforms.html +++ b/docs/next/transforms.html @@ -48,7 +48,9 @@

    Reference

    Props

    decomposedMatrix

    -

    Deprecated. Use the transform prop instead.

    +
    +

    Deprecated. Use the transform prop instead.

    +
    @@ -104,7 +106,9 @@
    TypeRequired

    transformMatrix

    -

    Deprecated. Use the transform prop instead.

    +
    +

    Deprecated. Use the transform prop instead.

    +
    diff --git a/docs/next/transforms/index.html b/docs/next/transforms/index.html index 67ff23bf331..a583e25559d 100644 --- a/docs/next/transforms/index.html +++ b/docs/next/transforms/index.html @@ -48,7 +48,9 @@

    Reference

    Props

    decomposedMatrix

    -

    Deprecated. Use the transform prop instead.

    +
    +

    Deprecated. Use the transform prop instead.

    +
    TypeRequired
    @@ -104,7 +106,9 @@
    TypeRequired

    transformMatrix

    -

    Deprecated. Use the transform prop instead.

    +
    +

    Deprecated. Use the transform prop instead.

    +
    diff --git a/docs/next/vibrationios.html b/docs/next/vibrationios.html index 0da935e7f3c..f0bdb2b30f5 100644 --- a/docs/next/vibrationios.html +++ b/docs/next/vibrationios.html @@ -1,4 +1,4 @@ -VibrationIOS · React Native
    Edit

    VibrationIOS

    NOTE: VibrationIOS is being deprecated. Use Vibration instead.

    +
    Edit

    VibrationIOS

    +

    Deprecated. Use Vibration instead.

    +

    The Vibration API is exposed at VibrationIOS.vibrate(). On iOS, calling this function will trigger a one second vibration. The vibration is asynchronous so this method will return immediately.

    There will be no effect on devices that do not support Vibration, eg. the iOS simulator.

    Vibration patterns are currently unsupported.

    diff --git a/docs/next/vibrationios/index.html b/docs/next/vibrationios/index.html index 0da935e7f3c..f0bdb2b30f5 100644 --- a/docs/next/vibrationios/index.html +++ b/docs/next/vibrationios/index.html @@ -1,4 +1,4 @@ -VibrationIOS · React Native
    Edit

    VibrationIOS

    NOTE: VibrationIOS is being deprecated. Use Vibration instead.

    +
    Edit

    VibrationIOS

    +

    Deprecated. Use Vibration instead.

    +

    The Vibration API is exposed at VibrationIOS.vibrate(). On iOS, calling this function will trigger a one second vibration. The vibration is asynchronous so this method will return immediately.

    There will be no effect on devices that do not support Vibration, eg. the iOS simulator.

    Vibration patterns are currently unsupported.

    diff --git a/docs/next/viewpagerandroid.html b/docs/next/viewpagerandroid.html index b449135e28b..c67486efd65 100644 --- a/docs/next/viewpagerandroid.html +++ b/docs/next/viewpagerandroid.html @@ -1,4 +1,4 @@ -ViewPagerAndroid · React Native
    Edit

    ViewPagerAndroid

    Container that allows to flip left and right between child views. Each child view of the ViewPagerAndroid will be treated as a separate page and will be stretched to fill the ViewPagerAndroid.

    +
    Edit

    ViewPagerAndroid

    +

    Deprecated. Use react-native-community/react-native-viewpager instead.

    +
    +

    Container that allows to flip left and right between child views. Each child view of the ViewPagerAndroid will be treated as a separate page and will be stretched to fill the ViewPagerAndroid.

    It is important all children are <View>s and not composite components. You can set style properties like padding or backgroundColor for each child. It is also important that each child have a key prop.

    Example:

    render() {
    diff --git a/docs/next/viewpagerandroid/index.html b/docs/next/viewpagerandroid/index.html
    index b449135e28b..c67486efd65 100644
    --- a/docs/next/viewpagerandroid/index.html
    +++ b/docs/next/viewpagerandroid/index.html
    @@ -1,4 +1,4 @@
    -ViewPagerAndroid · React Native
    Edit

    ViewPagerAndroid

    Container that allows to flip left and right between child views. Each child view of the ViewPagerAndroid will be treated as a separate page and will be stretched to fill the ViewPagerAndroid.

    +
    Edit

    ViewPagerAndroid

    +

    Deprecated. Use react-native-community/react-native-viewpager instead.

    +
    +

    Container that allows to flip left and right between child views. Each child view of the ViewPagerAndroid will be treated as a separate page and will be stretched to fill the ViewPagerAndroid.

    It is important all children are <View>s and not composite components. You can set style properties like padding or backgroundColor for each child. It is also important that each child have a key prop.

    Example:

    render() {
    diff --git a/docs/next/virtualizedlist.html b/docs/next/virtualizedlist.html
    index 38e66af5cdd..a4b7e861ade 100644
    --- a/docs/next/virtualizedlist.html
    +++ b/docs/next/virtualizedlist.html
    @@ -451,7 +451,9 @@
     
    TypeRequired

    disableVirtualization

    -

    DEPRECATED. Virtualization provides significant performance and memory optimizations, but fully unmounts react instances that are outside of the render window. You should only need to disable this for debugging purposes.

    +
    +

    Deprecated. Virtualization provides significant performance and memory optimizations, but fully unmounts react instances that are outside of the render window. You should only need to disable this for debugging purposes.

    +
    diff --git a/docs/next/virtualizedlist/index.html b/docs/next/virtualizedlist/index.html index 38e66af5cdd..a4b7e861ade 100644 --- a/docs/next/virtualizedlist/index.html +++ b/docs/next/virtualizedlist/index.html @@ -451,7 +451,9 @@
    TypeRequired

    disableVirtualization

    -

    DEPRECATED. Virtualization provides significant performance and memory optimizations, but fully unmounts react instances that are outside of the render window. You should only need to disable this for debugging purposes.

    +
    +

    Deprecated. Virtualization provides significant performance and memory optimizations, but fully unmounts react instances that are outside of the render window. You should only need to disable this for debugging purposes.

    +
    diff --git a/docs/next/webview.html b/docs/next/webview.html index 73148bcfb6a..1029d51719c 100644 --- a/docs/next/webview.html +++ b/docs/next/webview.html @@ -539,7 +539,9 @@
    TypeRequired

    url

    -

    Deprecated. Use the source prop instead.

    +
    +

    Deprecated. Use the source prop instead.

    +
    @@ -550,7 +552,9 @@
    TypeRequired

    html

    -

    Deprecated. Use the source prop instead.

    +
    +

    Deprecated. Use the source prop instead.

    +
    diff --git a/docs/next/webview/index.html b/docs/next/webview/index.html index 73148bcfb6a..1029d51719c 100644 --- a/docs/next/webview/index.html +++ b/docs/next/webview/index.html @@ -539,7 +539,9 @@
    TypeRequired

    url

    -

    Deprecated. Use the source prop instead.

    +
    +

    Deprecated. Use the source prop instead.

    +
    @@ -550,7 +552,9 @@
    TypeRequired

    html

    -

    Deprecated. Use the source prop instead.

    +
    +

    Deprecated. Use the source prop instead.

    +
    diff --git a/docs/slider.html b/docs/slider.html index 82a0cfd15ff..5b3c6d702ad 100644 --- a/docs/slider.html +++ b/docs/slider.html @@ -1,4 +1,4 @@ -Slider · React Native
    Edit

    Slider

    A component used to select a single value from a range of values.

    +
    Edit

    Slider

    +

    Deprecated. Use react-native-community/react-native-slider instead.

    +
    +

    A component used to select a single value from a range of values.

    Props

    • View props...
    • diff --git a/docs/slider/index.html b/docs/slider/index.html index 82a0cfd15ff..5b3c6d702ad 100644 --- a/docs/slider/index.html +++ b/docs/slider/index.html @@ -1,4 +1,4 @@ -Slider · React Native
    Edit

    Slider

    A component used to select a single value from a range of values.

    +
    Edit

    Slider

    +

    Deprecated. Use react-native-community/react-native-slider instead.

    +
    +

    A component used to select a single value from a range of values.

    Props

    • View props...
    • diff --git a/docs/viewpagerandroid.html b/docs/viewpagerandroid.html index bb18ae91fcd..6c5ae8723aa 100644 --- a/docs/viewpagerandroid.html +++ b/docs/viewpagerandroid.html @@ -1,4 +1,4 @@ -ViewPagerAndroid · React Native
    Edit

    ViewPagerAndroid

    Container that allows to flip left and right between child views. Each child view of the ViewPagerAndroid will be treated as a separate page and will be stretched to fill the ViewPagerAndroid.

    +
    Edit

    ViewPagerAndroid

    +

    Deprecated. Use react-native-community/react-native-viewpager instead.

    +
    +

    Container that allows to flip left and right between child views. Each child view of the ViewPagerAndroid will be treated as a separate page and will be stretched to fill the ViewPagerAndroid.

    It is important all children are <View>s and not composite components. You can set style properties like padding or backgroundColor for each child. It is also important that each child have a key prop.

    Example:

    -
    render: function() {
    +
    render() {
       return (
         <ViewPagerAndroid
           style={styles.viewPager}
    @@ -53,7 +56,7 @@
     
     ...
     
    -var styles = {
    +const styles = {
       ...
       viewPager: {
         flex: 1
    diff --git a/docs/viewpagerandroid/index.html b/docs/viewpagerandroid/index.html
    index bb18ae91fcd..6c5ae8723aa 100644
    --- a/docs/viewpagerandroid/index.html
    +++ b/docs/viewpagerandroid/index.html
    @@ -1,4 +1,4 @@
    -ViewPagerAndroid · React Native
    Edit

    ViewPagerAndroid

    Container that allows to flip left and right between child views. Each child view of the ViewPagerAndroid will be treated as a separate page and will be stretched to fill the ViewPagerAndroid.

    +
    Edit

    ViewPagerAndroid

    +

    Deprecated. Use react-native-community/react-native-viewpager instead.

    +
    +

    Container that allows to flip left and right between child views. Each child view of the ViewPagerAndroid will be treated as a separate page and will be stretched to fill the ViewPagerAndroid.

    It is important all children are <View>s and not composite components. You can set style properties like padding or backgroundColor for each child. It is also important that each child have a key prop.

    Example:

    -
    render: function() {
    +
    render() {
       return (
         <ViewPagerAndroid
           style={styles.viewPager}
    @@ -53,7 +56,7 @@
     
     ...
     
    -var styles = {
    +const styles = {
       ...
       viewPager: {
         flex: 1
    
    TypeRequired