mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-29 21:25:00 +00:00
fix lint warnings
This commit is contained in:
@@ -25,7 +25,7 @@ class Polyline extends Component{
|
||||
}
|
||||
|
||||
return <Path
|
||||
ref={ele => this.root = ele}
|
||||
ref={ele => {this.root = ele;}}
|
||||
{...this.props}
|
||||
d={`M${points.trim().replace(/\s+/g, 'L')}`}
|
||||
/>;
|
||||
|
||||
Reference in New Issue
Block a user