mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-21 06:15:15 +00:00
fix lint warnings
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import React, {Component, PropTypes} from 'react';
|
||||
import _ from 'lodash';
|
||||
import React, {Component} from 'react';
|
||||
import createReactNativeComponentClass from 'react/lib/createReactNativeComponentClass';
|
||||
import {transformProps} from '../lib/props';
|
||||
import {GroupAttributes} from '../lib/attributes';
|
||||
@@ -25,9 +24,7 @@ class G extends Component{
|
||||
|
||||
return <RNSVGGroup
|
||||
{...extractedProps}
|
||||
ref={ele => {
|
||||
this.root = ele;
|
||||
}}
|
||||
ref={ele => {this.root = ele;}}
|
||||
>
|
||||
{this.props.children}
|
||||
</RNSVGGroup>;
|
||||
|
||||
Reference in New Issue
Block a user