@comfortdelgro/compass-icons
Version:
Icons for React Compass Design System
134 lines (132 loc) • 4.37 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 FlagCpv = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 1020 600",
ref: ref,
...props
}, /*#__PURE__*/ _react.createElement("path", {
fill: "#003893",
d: "M0 0h1020v600H0z"
}), /*#__PURE__*/ _react.createElement("path", {
fill: "#fff",
d: "M0 300h1020v150H0z"
}), /*#__PURE__*/ _react.createElement("path", {
fill: "#cf2027",
d: "M0 350h1020v50H0z"
}), /*#__PURE__*/ _react.createElement("g", {
transform: "matrix(2 0 0 2 382.5 375)",
fill: "#f7d116"
}, /*#__PURE__*/ _react.createElement("g", {
id: "cpv_svg__d"
}, /*#__PURE__*/ _react.createElement("g", {
id: "cpv_svg__c",
transform: "translate(0 -75)"
}, /*#__PURE__*/ _react.createElement("g", {
id: "cpv_svg__b"
}, /*#__PURE__*/ _react.createElement("path", {
id: "cpv_svg__a",
d: "M0-15V0h7.5",
transform: "rotate(18 0 -15)"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "scale(-1 1)",
width: "100%",
height: "100%",
href: "#cpv_svg__a"
})), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(72)",
width: "100%",
height: "100%",
href: "#cpv_svg__b"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(144)",
width: "100%",
height: "100%",
href: "#cpv_svg__b"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(-144)",
width: "100%",
height: "100%",
href: "#cpv_svg__b"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(-72)",
width: "100%",
height: "100%",
href: "#cpv_svg__b"
})), /*#__PURE__*/ _react.createElement("use", {
y: 150,
width: "100%",
height: "100%",
href: "#cpv_svg__c"
})), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(72)",
width: "100%",
height: "100%",
href: "#cpv_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(144)",
width: "100%",
height: "100%",
href: "#cpv_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(-144)",
width: "100%",
height: "100%",
href: "#cpv_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(-72)",
width: "100%",
height: "100%",
href: "#cpv_svg__d"
})));
const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagCpv);
const _default = ForwardRef;