mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 22:05:14 +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:
@@ -4,7 +4,6 @@ import createReactNativeComponentClass from 'react/lib/createReactNativeComponen
|
||||
import {transformProps} from '../lib/props';
|
||||
import {GroupAttributes} from '../lib/attributes';
|
||||
import extractProps from '../lib/extract/extractProps';
|
||||
import reusableProps from '../lib/reusableProps';
|
||||
|
||||
class G extends Component{
|
||||
static displayName = 'G';
|
||||
@@ -27,7 +26,6 @@ class G extends Component{
|
||||
return <RNSVGGroup
|
||||
{...extractedProps}
|
||||
ref={ele => this.root = ele}
|
||||
mergeList={reusableProps(extractedProps, props)}
|
||||
>
|
||||
{this.props.children}
|
||||
</RNSVGGroup>;
|
||||
|
||||
Reference in New Issue
Block a user