From 3c694d6d37b83b0d5cea6f3c48f0db83f27213a6 Mon Sep 17 00:00:00 2001 From: Connor McEwen Date: Mon, 13 Jun 2016 16:57:58 -0400 Subject: [PATCH] RN upgrade changes to .android files --- src/BlurView.android.js | 9 +++++---- src/VibrancyView.android.js | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/BlurView.android.js b/src/BlurView.android.js index e57fbd7..7eb6fe9 100644 --- a/src/BlurView.android.js +++ b/src/BlurView.android.js @@ -1,11 +1,12 @@ -const React = require('react-native'); +const React = require('react'); +const {View} = require('react-native'); const { - requireNativeComponent, Component, - PropTypes, - View + PropTypes } = React; +const { requireNativeComponent } = require('react-native'); + class BlurView extends Component { render() { return ( diff --git a/src/VibrancyView.android.js b/src/VibrancyView.android.js index 1a17a01..002d6c8 100644 --- a/src/VibrancyView.android.js +++ b/src/VibrancyView.android.js @@ -1,4 +1,4 @@ -const React = require('react-native'); +const React = require('react'); class VibrancyView extends React.Component { render() { @@ -6,4 +6,4 @@ class VibrancyView extends React.Component { } } -module.exports = VibrancyView \ No newline at end of file +module.exports = VibrancyView