@comfortdelgro/compass-icons
Version:
Icons for React Compass Design System
129 lines (127 loc) • 4.55 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
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 _interop_require_wildcard(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;
}
const FlagGrd = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 500 300",
ref: ref,
...props
}, /*#__PURE__*/ _react.createElement("defs", null, /*#__PURE__*/ _react.createElement("g", {
id: "grd_svg__c"
}, /*#__PURE__*/ _react.createElement("g", {
id: "grd_svg__b"
}, /*#__PURE__*/ _react.createElement("path", {
id: "grd_svg__a",
d: "M0-1v1h.5",
transform: "rotate(18 0 -1)",
fill: "#fcd116"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "scale(-1 1)",
href: "#grd_svg__a"
})), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(72)",
href: "#grd_svg__b"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(144)",
href: "#grd_svg__b"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(216)",
href: "#grd_svg__b"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(288)",
href: "#grd_svg__b"
}))), /*#__PURE__*/ _react.createElement("path", {
fill: "#ce1126",
d: "M0 0h500v300H0z"
}), /*#__PURE__*/ _react.createElement("path", {
fill: "#007a5e",
d: "M42 42h416v216H42z"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M42 42h416L42 258h416z",
fill: "#fcd116"
}), /*#__PURE__*/ _react.createElement("circle", {
cx: 250,
cy: 150,
r: 36,
fill: "#ce1126"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "matrix(33 0 0 33 250 150)",
href: "#grd_svg__c"
}), /*#__PURE__*/ _react.createElement("use", {
x: -100,
href: "#grd_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
id: "grd_svg__d",
transform: "matrix(19.5 0 0 19.5 250 21)",
href: "#grd_svg__c"
}), /*#__PURE__*/ _react.createElement("use", {
x: 100,
href: "#grd_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
x: -100,
y: 258,
href: "#grd_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
y: 258,
href: "#grd_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
x: 100,
y: 258,
href: "#grd_svg__d"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M67.749 150.41c4.504 8.39 13.265 17.52 20.916 20.73.123-8.52-2.9-19.44-7.034-28.14l-13.882 7.41z",
fill: "#ce1126"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M60.112 121.63c6.529 13.61-16.933 46.08 22.156 53.69-4.822-6.58-7.931-17.44-6.755-26.16 8.201 3.12 16.83 12.25 20.317 19.23 10.23-37.15-26.24-34.89-35.718-46.76z",
fill: "#fcd116"
}));
const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagGrd);
const _default = ForwardRef;