mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-27 04:32:57 +00:00
merge master
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import createReactNativeComponentClass from 'react-native/Libraries/Renderer/shims/createReactNativeComponentClass.js';
|
||||
import createReactNativeComponentClass from '../lib/createReactNativeComponentClass';
|
||||
import extractText from '../lib/extract/extractText';
|
||||
import {textProps} from '../lib/props';
|
||||
import {TextAttributes} from '../lib/attributes';
|
||||
@@ -50,7 +50,7 @@ export default class extends Shape {
|
||||
}
|
||||
}
|
||||
|
||||
const RNSVGText = createReactNativeComponentClass({
|
||||
const RNSVGText = createReactNativeComponentClass('RNSVGText', () => ({
|
||||
validAttributes: TextAttributes,
|
||||
uiViewClassName: 'RNSVGText'
|
||||
});
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user