Add Text destructuring to example
Summary:Destructuring of Text component was missing from example Closes https://github.com/facebook/react-native/pull/5998 Differential Revision: D2948871 fb-gh-sync-id: 83c2c633f768028d28d5e9ba37463021c8dc5eea shipit-source-id: 83c2c633f768028d28d5e9ba37463021c8dc5eea
This commit is contained in:
parent
449d4d4edd
commit
774757d628
|
@ -68,7 +68,7 @@ var App = React.createClass({
|
||||||
{`// Android
|
{`// Android
|
||||||
|
|
||||||
var React = require('react-native');
|
var React = require('react-native');
|
||||||
var { DrawerLayoutAndroid, ProgressBarAndroid } = React;
|
var { DrawerLayoutAndroid, ProgressBarAndroid, Text } = React;
|
||||||
|
|
||||||
var App = React.createClass({
|
var App = React.createClass({
|
||||||
render: function() {
|
render: function() {
|
||||||
|
|
Loading…
Reference in New Issue