mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 17:54:48 +00:00
Fix 'Can't find variable: React'
Summary:Border example throws "Can't find variable: React" error. This simply includes React (using old 'require' syntax to keep syntax consistent) Closes https://github.com/facebook/react-native/pull/7194 Differential Revision: D3217714 fb-gh-sync-id: 7ba5251cd64a9bfeceff67a2f8f089e25b3d9465 fbshipit-source-id: 7ba5251cd64a9bfeceff67a2f8f089e25b3d9465
This commit is contained in:
parent
7721a24f38
commit
3f1165dfc6
@ -13,6 +13,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
var React = require('react');
|
||||
var ReactNative = require('react-native');
|
||||
var {
|
||||
StyleSheet,
|
||||
|
Loading…
x
Reference in New Issue
Block a user