From 5d6f89bb0bf7229edcc24a92610c4bb1510bca06 Mon Sep 17 00:00:00 2001
From: Website Deployment Script
options (array of strings) - a list of button titles
one or both of message and url and can additionally have
a subject or excludedActivityTypes:url (string) - a URL to sharemessage (string) - a message to sharesubject (string) - a subject for the messageexcludedActivityTypes (array) - the activites to exclude from the ActionSheetNOTE: if url points to a local file, or is a base64-encoded
uri, the file it points to will be loaded and shared directly.
-In this way, you can share images, videos, PDF files, etc.
Examples # | Edit on GitHub |
Examples # | Edit on GitHub |
ActivityIndicator # | Edit on GitHub |
Displays a circular loading indicator.
Whether to show the indicator (true, the default) or hide it (false).
Size of the indicator. Small has a height of 20, large has a height of 36. -Other sizes can be obtained using a scale transform.
Whether the indicator should hide when not animating (true by default).
Examples # | Edit on GitHub |
Whether the indicator should hide when not animating (true by default).
Examples # | Edit on GitHub |
Flexbox # | Edit on GitHub |
Flexbox # | Edit on GitHub |
PickerIOS # | Edit on GitHub |
Examples # | Edit on GitHub |
PickerIOS # | Edit on GitHub |
Examples # | Edit on GitHub |
ProgressViewIOS # | Edit on GitHub |
Use ProgressViewIOS to render a UIProgressView on iOS.
The progress value (between 0 and 1).
A stretchable image to display as the progress bar.
The tint color of the progress bar itself.
The progress bar style.
A stretchable image to display behind the progress bar.
The tint color of the progress bar track.
Examples # | Edit on GitHub |
ProgressViewIOS # | Edit on GitHub |
Use ProgressViewIOS to render a UIProgressView on iOS.
The progress value (between 0 and 1).
A stretchable image to display as the progress bar.
The tint color of the progress bar itself.
The progress bar style.
A stretchable image to display behind the progress bar.
The tint color of the progress bar track.
Examples # | Edit on GitHub |
ShadowPropTypesIOS # | Edit on GitHub |
ShadowPropTypesIOS # | Edit on GitHub |
ToastAndroid # | Edit on GitHub |
This exposes the native ToastAndroid module as a JS module. This has a function 'show' -which takes the following parameters:
Examples # | Edit on GitHub |
Examples # | Edit on GitHub |
Transforms # | Edit on GitHub |
Transforms # | Edit on GitHub |
Vibration # | Edit on GitHub |
The Vibration API is exposed at Vibration.vibrate().
The vibration is asynchronous so this method will return immediately.
There will be no effect on devices that do not support Vibration, eg. the simulator.
Note for android
-add <uses-permission android:name="android.permission.VIBRATE"/> to AndroidManifest.xml
Vibration patterns are currently unsupported.
Examples # | Edit on GitHub |
<uses-permission android:name="android.permission.VIBRATE"/> to AndroidManifest.xmlVibration patterns are currently unsupported.
Examples # | Edit on GitHub |
VibrationIOS # | Edit on GitHub |
NOTE: VibrationIOS is being 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.
@deprecated
Examples # | Edit on GitHub |
Vibration patterns are currently unsupported.
@deprecated
Examples # | Edit on GitHub |