Files
react-native-svg/lib/extract/extractPolyPoints.js
2017-04-04 11:56:38 +08:00

5 lines
120 B
JavaScript

export default function (polyPoints) {
return polyPoints.replace(/-/, ' -').split(/(?:\s+|\s*,)\s*/g).join(' ');
}