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,6 +1,5 @@
|
||||
import React, {PropTypes} from 'react';
|
||||
import createReactNativeComponentClass from 'react/lib/createReactNativeComponentClass';
|
||||
import Defs from './Defs';
|
||||
import extractProps from '../lib/extract/extractProps';
|
||||
import extractText from '../lib/extract/extractText';
|
||||
import {numberProp, pathProps} from '../lib/props';
|
||||
@@ -47,7 +46,7 @@ class Text extends Shape {
|
||||
|
||||
return (
|
||||
<RNSVGText
|
||||
ref={ele => this.root = ele}
|
||||
ref={ele => {this.root = ele;}}
|
||||
{...extractProps({...props, x, y})}
|
||||
{...extractText(props)}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user