mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-26 04:19:17 +00:00
Move d parsing to native side(iOS)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import SerializablePath from '../SerializablePath';
|
||||
import clipReg from './patternReg';
|
||||
|
||||
const clipRules = {
|
||||
@@ -18,7 +17,7 @@ export default function (props) {
|
||||
if (matched) {
|
||||
clippingProps.clipPathRef = matched[1];
|
||||
} else {
|
||||
clippingProps.clipPath = new SerializablePath(clipPath).toJSON();
|
||||
clippingProps.clipPath = clipPath;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user