diff --git a/releases/next/docs/image.html b/releases/next/docs/image.html index 6a1d15bd02b..c6ec919d207 100644 --- a/releases/next/docs/image.html +++ b/releases/next/docs/image.html @@ -85,7 +85,13 @@ as the background.

For details of how this works under the hood, see http://frescolib.org/docs/rounded-corners-and-circles.html

ImageResizeMode is an Enum for different image resizing modes, set via the resizeMode style property on Image components. The values are contain, cover, stretch, center, repeat.

testID PropTypes.string #

A unique identifier for this element to be used in UI Automation -testing scripts.

iosaccessibilityLabel PropTypes.string #

The text that's read by the screen reader when the user interacts with +testing scripts.

androidresizeMethod PropTypes.oneOf(['auto', 'resize', 'scale']) #

The mechanism that should be used to resize the image when the image's dimensions +differ from the image view's dimensions. Defaults to auto.

More details about resize and scale can be found at http://frescolib.org/docs/resizing-rotating.html.

iosaccessibilityLabel PropTypes.string #

The text that's read by the screen reader when the user interacts with the image.

iosaccessible PropTypes.bool #

When true, indicates the image is an accessibility element.

iosblurRadius PropTypes.number #

blurRadius: the blur radius of the blur filter added to the image

ioscapInsets {top: number, left: number, bottom: number, right: number} #

When the image is resized, the corners of the size specified by capInsets will stay a fixed size, but the center content and borders of the image will be stretched. This is useful for creating resizable diff --git a/releases/next/docs/using-navigators.html b/releases/next/docs/using-navigators.html index 420a8451739..b36e0a5da0d 100644 --- a/releases/next/docs/using-navigators.html +++ b/releases/next/docs/using-navigators.html @@ -42,43 +42,46 @@ AppRegistry. index: 1, }); -navigator.pop();

A more complete example that demonstrates the pushing and popping of routes could therefore look something like this:

import React, { Component, PropTypes } from 'react'; -import { Navigator, Text, TouchableHighlight, View } from 'react-native'; +navigator.pop();

A more complete example that demonstrates the pushing and popping of routes. Edit your index*.js file to look something like this:

import React, { Component } from 'react'; +import { AppRegistry, Navigator, Text, View } from 'react-native'; -export default class SimpleNavigationApp extends Component { +import MyScene from './MyScene'; + +class SimpleNavigationApp extends Component { render() { return ( <Navigator initialRoute={{ title: 'My Initial Scene', index: 0 }} - renderScene={(route, navigator) => { - return ( - <MyScene - title={route.title} + renderScene={(route, navigator) => + <MyScene + title={route.title} - // Function to call when a new scene should be displayed - onForward={ () => { - const nextIndex = route.index + 1; - navigator.push({ - title: 'Scene ' + nextIndex, - index: nextIndex, - }); - }} + // Function to call when a new scene should be displayed + onForward={ () => { + const nextIndex = route.index + 1; + navigator.push({ + title: 'Scene ' + nextIndex, + index: nextIndex, + }); + }} - // Function to call to go back to the previous scene - onBack={() => { - if (route.index > 0) { - navigator.pop(); - } - }} - /> - ) - }} + // Function to call to go back to the previous scene + onBack={() => { + if (route.index > 0) { + navigator.pop(); + } + }} + /> + } /> ) } } -class MyScene extends Component { +AppRegistry.registerComponent('SimpleNavigationApp', () => SimpleNavigationApp);

And your MyScene.js to match this:

import React, { Component, PropTypes } from 'react'; +import { View, Text, TouchableHighlight } from 'react-native'; + +export default class MyScene extends Component { static propTypes = { title: PropTypes.string.isRequired, onForward: PropTypes.func.isRequired, diff --git a/releases/next/versions.html b/releases/next/versions.html index 1320bba206f..43e844e3f66 100644 --- a/releases/next/versions.html +++ b/releases/next/versions.html @@ -1,4 +1,4 @@ -Documentation archive

React Native Versions

React Native is following a 2-week train release. Every two weeks, a Release Candidate (rc) branch is created off of master and the previous rc branch is being officially released.

masterDocs
0.33-rcDocsRelease Notes
(current) 0.32DocsRelease Notes
0.31DocsRelease Notes
0.30DocsRelease Notes
0.29DocsRelease Notes
0.28DocsRelease Notes
0.27DocsRelease Notes
0.26DocsRelease Notes
0.25DocsRelease Notes
0.24DocsRelease Notes
0.23DocsRelease Notes
0.22DocsRelease Notes
0.21DocsRelease Notes
0.20DocsRelease Notes
0.19DocsRelease Notes
0.18DocsRelease Notes
© 2016 Facebook Inc.

React Native Versions

React Native is following a 2-week train release. Every two weeks, a Release Candidate (rc) branch is created off of master and the previous rc branch is being officially released.

masterDocs
(current) 0.33DocsRelease Notes
0.32DocsRelease Notes
0.31DocsRelease Notes
0.30DocsRelease Notes
0.29DocsRelease Notes
0.28DocsRelease Notes
0.27DocsRelease Notes
0.26DocsRelease Notes
0.25DocsRelease Notes
0.24DocsRelease Notes
0.23DocsRelease Notes
0.22DocsRelease Notes
0.21DocsRelease Notes
0.20DocsRelease Notes
0.19DocsRelease Notes
0.18DocsRelease Notes
© 2016 Facebook Inc.

React Native Versions

React Native is following a 2-week train release. Every two weeks, a Release Candidate (rc) branch is created off of master and the previous rc branch is being officially released.

masterDocs
0.33-rcDocsRelease Notes
(current) 0.32DocsRelease Notes
0.31DocsRelease Notes
0.30DocsRelease Notes
0.29DocsRelease Notes
0.28DocsRelease Notes
0.27DocsRelease Notes
0.26DocsRelease Notes
0.25DocsRelease Notes
0.24DocsRelease Notes
0.23DocsRelease Notes
0.22DocsRelease Notes
0.21DocsRelease Notes
0.20DocsRelease Notes
0.19DocsRelease Notes
0.18DocsRelease Notes
© 2016 Facebook Inc.

React Native Versions

React Native is following a 2-week train release. Every two weeks, a Release Candidate (rc) branch is created off of master and the previous rc branch is being officially released.

masterDocs
(current) 0.33DocsRelease Notes
0.32DocsRelease Notes
0.31DocsRelease Notes
0.30DocsRelease Notes
0.29DocsRelease Notes
0.28DocsRelease Notes
0.27DocsRelease Notes
0.26DocsRelease Notes
0.25DocsRelease Notes
0.24DocsRelease Notes
0.23DocsRelease Notes
0.22DocsRelease Notes
0.21DocsRelease Notes
0.20DocsRelease Notes
0.19DocsRelease Notes
0.18DocsRelease Notes
© 2016 Facebook Inc.