Make createReactNativeComponentClass backward compatible with react native < 0.50

This commit is contained in:
Bruno Lemos
2017-10-27 20:38:04 -02:00
parent 3db9489652
commit 4a71c7f932
16 changed files with 21 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import createReactNativeComponentClass from 'react-native/Libraries/Renderer/shims/createReactNativeComponentClass.js';
import createReactNativeComponentClass from '../lib/createReactNativeComponentClass';
import {ClipPathAttributes} from '../lib/attributes';
export default class extends Component{