mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-20 14:05:09 +00:00
fix lint warnings
This commit is contained in:
@@ -4,7 +4,6 @@ import {UseAttributes} from '../lib/attributes';
|
||||
import Shape from './Shape';
|
||||
import React from 'react';
|
||||
import createReactNativeComponentClass from 'react/lib/createReactNativeComponentClass';
|
||||
import _ from 'lodash';
|
||||
|
||||
const idExpReg = /^#(.+)$/;
|
||||
class Use extends Shape {
|
||||
@@ -43,7 +42,7 @@ class Use extends Shape {
|
||||
});
|
||||
|
||||
return <RNSVGUse
|
||||
ref={ele => this.root = ele}
|
||||
ref={ele => {this.root = ele;}}
|
||||
{...extractedProps}
|
||||
href={href}
|
||||
width={props.width}
|
||||
|
||||
Reference in New Issue
Block a user