mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 14:05:09 +00:00
refactor text render
Support G inherit props. Refactor text render. Text glyphs will perfectly draw along the path
This commit is contained in:
@@ -5,7 +5,6 @@ import Shape from './Shape';
|
||||
import React from 'react';
|
||||
import patternReg from '../lib/extract/patternReg';
|
||||
import createReactNativeComponentClass from 'react/lib/createReactNativeComponentClass';
|
||||
import reusableProps from '../lib/reusableProps';
|
||||
import _ from 'lodash';
|
||||
|
||||
class Defs extends Shape {
|
||||
@@ -44,7 +43,6 @@ class Defs extends Shape {
|
||||
return <RNSVGUse
|
||||
ref={ele => this.root = ele}
|
||||
{...extractedProps}
|
||||
mergeList={reusableProps(extractedProps, props)}
|
||||
href={href}
|
||||
>{props.children}</RNSVGUse>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user