UNPKG

3.18 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.MotionSvg = void 0;
7var RNSvg = _interopRequireWildcard(require("react-native-svg"));
8var _createMotionComponent = require("./createMotionComponent");
9function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
10function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
11let MotionSvg;
12exports.MotionSvg = MotionSvg;
13(function (_MotionSvg) {
14 const Svg = _MotionSvg.Svg = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Svg);
15 const Polygon = _MotionSvg.Polygon = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Polygon);
16 const Rect = _MotionSvg.Rect = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Rect);
17 const Circle = _MotionSvg.Circle = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Circle);
18 const Ellipse = _MotionSvg.Ellipse = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Ellipse);
19 const Line = _MotionSvg.Line = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Line);
20 const Polyline = _MotionSvg.Polyline = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Polyline);
21 const Path = _MotionSvg.Path = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Path);
22 const Text = _MotionSvg.Text = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.Text);
23 const TSpan = _MotionSvg.TSpan = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.TSpan);
24 const TextPath = _MotionSvg.TextPath = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.TextPath);
25 const G = _MotionSvg.G = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.G);
26 const ClipPath = _MotionSvg.ClipPath = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.ClipPath);
27 const LinearGradient = _MotionSvg.LinearGradient = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.LinearGradient);
28 const RadialGradient = _MotionSvg.RadialGradient = (0, _createMotionComponent.createMotionAnimatedComponent)(RNSvg.RadialGradient);
29})(MotionSvg || (exports.MotionSvg = MotionSvg = {}));
30//# sourceMappingURL=svg.js.map
\No newline at end of file