Modal#visible

visible bool

Native Modules

Sometimes an app needs access to a platform API that React Native doesn't have a corresponding module for yet. Maybe you want to reuse some existing Java code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions. We designed React Native such that it is possible for you to write real native code and have access to the full power of the platform. This is a more advanced f

Native Modules

Sometimes an app needs access to platform API, and React Native doesn't have a corresponding module yet. Maybe you want to reuse some existing Objective-C, Swift or C++ code without having to reimplement it in JavaScript, or write some high performance, multi-threaded code such as for image processing, a database, or any number of advanced extensions. We designed React Native such that it is possible for you to write real native code and have access to the full power of the platform. This is a

Modal#onRequestClose

onRequestClose Platform.OS === 'android' ? PropTypes.func.isRequired : PropTypes.func

Modal#transparent

transparent bool

Modal#animated

animated bool Deprecated Use the animationType prop instead.

Modal#animationType

animationType enum('none', 'slide', 'fade')

Modal#onShow

onShow function

MapView#showsUserLocation

showsUserLocation bool If true the app will ask for the user's location and display it on the map. Default value is false. NOTE: on iOS, you need to add the NSLocationWhenInUseUsageDescription key in Info.plist to enable geolocation, otherwise it will fail silently.

MapView#style

style View#style Used to style and layout the MapView. See StyleSheet.js and ViewStylePropTypes.js for more info.