refactor shape elements add responder system.

refactor shape elements add responder system.
Just iOS.
This commit is contained in:
Horcrux
2016-05-15 00:40:43 +08:00
parent 1f7a908406
commit 8d01e8eccb
65 changed files with 2354 additions and 213 deletions
+7 -1
View File
@@ -67,6 +67,12 @@ class Svg extends Component{
return (
<NativeSvgView
{...props}
opacity={null}
width={null}
height={null}
viewbox={null}
preserveAspectRatio={null}
ref={ele => this.root = ele}
style={[
props.style,
@@ -86,6 +92,6 @@ class Svg extends Component{
}
}
const NativeSvgView = requireNativeComponent('RNSVGSvgView', Svg);
const NativeSvgView = requireNativeComponent('RNSVGSvgView', null);
export default Svg;