Permalink
Browse files

change import path for ReactNativePropRegistry

  • Loading branch information...
1 parent 4509a2b commit e7a43c1920714eda75b1627f25a26c2337458175 @himanshu-satija himanshu-satija committed Nov 27, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 Components/Widgets/Button.js
  2. +1 −1 Utils/computeProps.js
@@ -9,7 +9,7 @@ import IconNB from './Icon';
import Icon from './Icon';
import Text from './Text';
import _ from 'lodash';
-import ReactNativePropRegistry from 'react/lib/ReactNativePropRegistry';
+import ReactNativePropRegistry from 'react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry';
export default class Button extends NativeBaseComponent {
@@ -1,6 +1,6 @@
'use_strict';
import _ from 'lodash';
-import ReactNativePropRegistry from 'react/lib/ReactNativePropRegistry';
+import ReactNativePropRegistry from 'react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry';
// For compatibility with RN 0.25
// import ReactNativePropRegistry from "react-native/Libraries/ReactNative/ReactNativePropRegistry";
module.exports = function(incomingProps, defaultProps) {

0 comments on commit e7a43c1

Please sign in to comment.