mirror of
https://github.com/status-im/react-native.git
synced 2025-02-25 15:45:32 +00:00
[UIExplorer] Fixed 'Push View Example' in NavigatorIOS example
Summary: Fixed NavigatorIOSExample to render ViewExample using `createExamplePage(null, ViewExample)` Closes https://github.com/facebook/react-native/pull/419 Github Author: Robbie McCorkell <robbiemccorkell@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
parent
728349031a
commit
f652e8eeaa
@ -17,6 +17,7 @@
|
||||
|
||||
var React = require('react-native');
|
||||
var ViewExample = require('./ViewExample');
|
||||
var createExamplePage = require('./createExamplePage');
|
||||
var {
|
||||
PixelRatio,
|
||||
ScrollView,
|
||||
@ -77,7 +78,7 @@ var NavigatorIOSExample = React.createClass({
|
||||
{this._renderRow('Push View Example', () => {
|
||||
this.props.navigator.push({
|
||||
title: 'Very Long Custom View Example Title',
|
||||
component: ViewExample,
|
||||
component: createExamplePage(null, ViewExample),
|
||||
});
|
||||
})}
|
||||
{this._renderRow('Custom Right Button', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user