fix missed props.x and props.y

This commit is contained in:
Horcrux
2016-07-27 11:13:02 +08:00
parent a636211917
commit aee3038996
3 changed files with 9 additions and 5 deletions
+3 -1
View File
@@ -25,7 +25,9 @@ class G extends Component{
return <RNSVGGroup
{...extractedProps}
ref={ele => this.root = ele}
ref={ele => {
this.root = ele;
}}
>
{this.props.children}
</RNSVGGroup>;