mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-21 22:35:13 +00:00
fix lint warning
This commit is contained in:
@@ -9,6 +9,7 @@ import Svg, {
|
||||
class CircleExample extends Component{
|
||||
static title = 'Circle';
|
||||
render() {
|
||||
|
||||
return <Svg
|
||||
height="100"
|
||||
width="140"
|
||||
|
||||
@@ -49,7 +49,6 @@ class ClipPathAttr extends Component{
|
||||
height="100"
|
||||
fill="url(#grad)"
|
||||
clipPath="M50,5L20,99L95,39L5,39L80,99z"
|
||||
onStartShouldSetResponder={() => alert("1111111")}
|
||||
/>
|
||||
<Rect
|
||||
x="40%"
|
||||
|
||||
@@ -527,7 +527,10 @@
|
||||
);
|
||||
INFOPLIST_FILE = ArtSvgExample/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
OTHER_LDFLAGS = (
|
||||
"-ObjC",
|
||||
"-lc++",
|
||||
);
|
||||
PRODUCT_NAME = ArtSvgExample;
|
||||
};
|
||||
name = Debug;
|
||||
@@ -543,7 +546,10 @@
|
||||
);
|
||||
INFOPLIST_FILE = ArtSvgExample/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
OTHER_LDFLAGS = (
|
||||
"-ObjC",
|
||||
"-lc++",
|
||||
);
|
||||
PRODUCT_NAME = ArtSvgExample;
|
||||
};
|
||||
name = Release;
|
||||
|
||||
@@ -3,8 +3,6 @@ import extractProps from '../lib/extract/extractProps';
|
||||
import createNativeComponent from '../lib/createNativeComponent';
|
||||
import mergeContext from '../lib/mergeContext';
|
||||
import {circleProps, pathProps, fillProps, strokeProps, numberProp} from '../lib/props';
|
||||
import SvgTouchableMixin from '../lib/SvgTouchableMixin';
|
||||
import _ from 'lodash';
|
||||
|
||||
class Circle extends Component{
|
||||
static displayName = 'Circle';
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, {Component, PropTypes} from 'react';
|
||||
import {NativeGroup} from './G';
|
||||
import {set, remove} from '../lib/extract/extractClipping';
|
||||
import createNativeComponent from '../lib/createNativeComponent';
|
||||
|
||||
|
||||
@@ -39,4 +39,4 @@ export default {
|
||||
touchableGetPressOutDelayMS: function() {
|
||||
return this.props.delayPressOut || 0;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user