mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 16:10:58 +00:00
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
2
website/src/react-native/index.js
vendored
2
website/src/react-native/index.js
vendored
@ -68,7 +68,7 @@ var App = React.createClass({
|
||||
{`// Android
|
||||
|
||||
var React = require('react-native');
|
||||
var { DrawerLayoutAndroid, ProgressBarAndroid } = React;
|
||||
var { DrawerLayoutAndroid, ProgressBarAndroid, Text } = React;
|
||||
|
||||
var App = React.createClass({
|
||||
render: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user