phosphor-react-native
Version:
Flexible icons for React Native
152 lines (144 loc) • 6.25 kB
JavaScript
"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.Polygon, {
points: "128 86 88.056 115.021 103.313 161.979 152.687 161.979 167.944 115.021 128 86",
opacity: 0.2
}), /*#__PURE__*/React.createElement(_reactNativeSvg.Path, {
d: "M92.98335,38.58649a96.37511,96.37511,0,0,1,70.03342.00005l-.00031.00077L128,64,92.98372,38.58745Z",
opacity: 0.2
}), /*#__PURE__*/React.createElement(_reactNativeSvg.Path, {
d: "M32.142,133.67252A96.375,96.375,0,0,1,53.78352,67.0668l.00064.00052,13.34822,41.15559L32.143,133.67246Z",
opacity: 0.2
}), /*#__PURE__*/React.createElement(_reactNativeSvg.Path, {
d: "M103.77312,220.91932a96.37514,96.37514,0,0,1-56.65819-41.16465l.0007-.00045,43.26611.02287,13.39164,41.14123Z",
opacity: 0.2
}), /*#__PURE__*/React.createElement(_reactNativeSvg.Path, {
d: "M208.885,179.75478a96.37518,96.37518,0,0,1-56.65826,41.16457l-.0002-.00081,13.39171-41.14145,43.26588-.02287Z",
opacity: 0.2
}), /*#__PURE__*/React.createElement(_reactNativeSvg.Path, {
d: "M202.21656,67.06689A96.375,96.375,0,0,1,223.858,133.67264l-.00083,0-34.98958-25.44969,13.34815-41.15537Z",
opacity: 0.2
}), /*#__PURE__*/React.createElement(_reactNativeSvg.Circle, {
cx: 128,
cy: 128,
r: 96,
fill: "none",
stroke: props.color,
strokeLinecap: "round",
strokeLinejoin: "round",
strokeWidth: 16
}), /*#__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: 16
}), /*#__PURE__*/React.createElement(_reactNativeSvg.Line, {
x1: 128,
y1: 64,
x2: 128,
y2: 86,
fill: "none",
stroke: props.color,
strokeLinecap: "round",
strokeLinejoin: "round",
strokeWidth: 16
}), /*#__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: 16
}), /*#__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: 16
}), /*#__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: 16
}), /*#__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: 16
}), /*#__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: 16
}), /*#__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: 16
}), /*#__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: 16
}), /*#__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: 16
}), /*#__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: 16
}));
}
var _default = SoccerBall;
exports.default = _default;
//# sourceMappingURL=SoccerBall.js.map