mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-29 13:21:50 +00:00
React API must be now required from react package
This commit is contained in:
+2
-4
@@ -1,12 +1,10 @@
|
||||
import React, {
|
||||
Component
|
||||
} from 'react-native';
|
||||
import React, {Component} from 'react';
|
||||
import './Path'; // must import Path first, don`t know why. without this will throw an `Super expression must either be null or a function, not undefined`
|
||||
import _ from 'lodash';
|
||||
import extractProps from '../lib/extract/extractProps';
|
||||
import {ShapeAttributes} from '../lib/attributes';
|
||||
import formatPercentageProps from '../lib/formatPercentageProps';
|
||||
import createReactNativeComponentClass from 'react-native/Libraries/ReactNative/createReactNativeComponentClass';
|
||||
import createReactNativeComponentClass from 'react/lib/createReactNativeComponentClass';
|
||||
import {circleProps, ellipseProps, lineProps, rectProps} from '../lib/props';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user