PickerIOS#selectedValue

selectedValue any

Style

React Native doesn't implement CSS but instead relies on JavaScript to let you style your application. This has been a controversial decision and you can read through those slides for the rationale behind it. Declare Styles The way to declare styles in React Native is the following: var styles = StyleSheet.create({ base: { width: 38, height: 38, }, background: { backgroundColor: '#222222', }, active: { borderWidth: 2, borderColor: '#00ff00', }, }); StyleSheet.c

ShadowPropTypesIOS#shadowOpacity

shadowOpacity number

Flexbox#marginHorizontal

marginHorizontal number

StatusBar#hidden

hidden bool If the status bar is hidden.

NetInfo#isConnected

isConnected Available on all platforms. Asynchronously fetch a boolean to determine internet connectivity. NetInfo.isConnected.fetch().then(isConnected => { console.log('First, is ' + (isConnected ? 'online' : 'offline')); }); function handleFirstConnectivityChange(isConnected) { console.log('Then, is ' + (isConnected ? 'online' : 'offline')); NetInfo.isConnected.removeEventListener( 'change', handleFirstConnectivityChange ); } NetInfo.isConnected.addEventListener( 'change

ListView#pageSize

pageSize number Number of rows to render per event loop. Note: if your 'rows' are actually cells, i.e. they don't span the full width of your view (as in the ListViewGridLayoutExample), you should set the pageSize to be a multiple of the number of cells per row, otherwise you're likely to see gaps at the edge of the ListView as new pages are loaded.

Colors

The following formats are supported: '#f0f' (#rgb) '#f0fc' (#rgba) '#ff00ff' (#rrggbb) '#ff00ff00' (#rrggbbaa) 'rgb(255, 255, 255)' 'rgba(255, 255, 255, 1.0)' 'hsl(360, 100%, 100%)' 'hsla(360, 100%, 100%, 1.0)' 'transparent' 'red' 0xff00ff00 (0xrrggbbaa) For the named colors, React Native follows the CSS3 specification: aliceblue (#f0f8ff) antiquewhite (#faebd7) aqua (#00ffff) aquamarine (#7fffd4) azure (#f0ffff) beige (#f5f5dc) bisque (#ffe4c4) black (#000000) blanched

ActionSheetIOS.showActionSheetWithOptions()

static showActionSheetWithOptions(options, callback) Display an iOS action sheet. The options object must contain one or more of: options (array of strings) - a list of button titles (required) cancelButtonIndex (int) - index of cancel button in options destructiveButtonIndex (int) - index of destructive button in options title (string) - a title to show above the action sheet message (string) - a message to show below the title

Picker#enabled

androidenabled bool If set to false, the picker will be disabled, i.e. the user will not be able to make a selection.