UNPKG

phosphor-react-native

Version:
134 lines (126 loc) 5.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(require("react")); var _reactNativeSvg = _interopRequireWildcard(require("react-native-svg")); function _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); } function _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; } function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } function SoccerBall(props) { return /*#__PURE__*/React.createElement(_reactNativeSvg.default, _extends({ id: "Raw", viewBox: "0 0 256 256", width: props.size, height: props.size }, props), /*#__PURE__*/React.createElement(_reactNativeSvg.Rect, { width: 256, height: 256, fill: "none" }), /*#__PURE__*/React.createElement(_reactNativeSvg.Circle, { cx: 128, cy: 128, r: 96, fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Polygon, { points: "128 86 88.056 115.021 103.313 161.979 152.687 161.979 167.944 115.021 128 86", fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Line, { x1: 128, y1: 64, x2: 128, y2: 86, fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Polyline, { points: "163.016 38.587 128 64 92.984 38.587", fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Line, { x1: 67.13238, y1: 108.22291, x2: 88.05563, y2: 115.02129, fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Polyline, { points: "53.784 67.067 67.132 108.223 32.143 133.672", fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Line, { x1: 90.38174, y1: 179.77709, x2: 103.31302, y2: 161.97871, fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Polyline, { points: "47.116 179.754 90.382 179.777 103.773 220.918", fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Line, { x1: 165.61826, y1: 179.77709, x2: 152.68698, y2: 161.97871, fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Polyline, { points: "152.227 220.919 165.618 179.777 208.884 179.754", fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Line, { x1: 188.86762, y1: 108.22291, x2: 167.94437, y2: 115.02129, fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 }), /*#__PURE__*/React.createElement(_reactNativeSvg.Polyline, { points: "223.857 133.673 188.868 108.223 202.216 67.068", fill: "none", stroke: props.color, strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 12 })); } var _default = SoccerBall; exports.default = _default; //# sourceMappingURL=SoccerBall.js.map