complete ClipPath element on iOS

This commit is contained in:
Horcrux
2016-04-27 23:14:15 +08:00
parent efd56cdb6a
commit fa751e31b0
18 changed files with 112 additions and 60 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ class Shape extends Component{
let shape = new SerializableShape(props, COORD_PROPS[this.type]).toJSON();
return <NativePath
return <NativeShape
{...extractProps(this.type === 3 ? {
...props,
x: null,
@@ -72,7 +72,7 @@ class Shape extends Component{
};
}
let NativePath = createReactNativeComponentClass({
let NativeShape = createReactNativeComponentClass({
validAttributes: ShapeAttributes,
uiViewClassName: 'RNSVGShape'
});