refactor text render

Support G inherit props.
Refactor text render. Text glyphs will perfectly draw along the path
This commit is contained in:
Horcrux
2016-07-22 23:49:15 +08:00
parent 63f793c54e
commit 7e13b801e1
41 changed files with 467 additions and 477 deletions

View File

@@ -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>;
}