@comfortdelgro/compass-icons
Version:
Icons for React Compass Design System
119 lines (117 loc) • 4.19 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 FlagCok = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 9600 4800",
ref: ref,
...props
}, /*#__PURE__*/ _react.createElement("defs", null, /*#__PURE__*/ _react.createElement("clipPath", {
id: "cok_svg__a"
}, /*#__PURE__*/ _react.createElement("path", {
d: "M0 0h12v6H0z"
})), /*#__PURE__*/ _react.createElement("clipPath", {
id: "cok_svg__b"
}, /*#__PURE__*/ _react.createElement("path", {
d: "M0 0v1.5h8V4zm6 0H3v4h-5z"
}))), /*#__PURE__*/ _react.createElement("g", {
transform: "scale(800)",
strokeWidth: 0.6,
fill: "#012169",
clipPath: "url(#cok_svg__a)"
}, /*#__PURE__*/ _react.createElement("path", {
d: "M0 0h12v6H0z"
}), /*#__PURE__*/ _react.createElement("path", {
stroke: "#fff",
d: "M0 0l6 3M0 3l6-3"
}), /*#__PURE__*/ _react.createElement("path", {
stroke: "#c8102e",
strokeWidth: 0.4,
clipPath: "url(#cok_svg__b)",
d: "M0 0l6 3M0 3l6-3"
}), /*#__PURE__*/ _react.createElement("path", {
stroke: "#fff",
strokeWidth: 1,
d: "M3 0v4M0 1.5h7"
}), /*#__PURE__*/ _react.createElement("path", {
stroke: "#c8102e",
d: "M3 0v4M0 1.5h7"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M0 3h6V0h6v6H0z"
})), /*#__PURE__*/ _react.createElement("g", {
transform: "translate(7200 2400)"
}, /*#__PURE__*/ _react.createElement("g", {
id: "cok_svg__d"
}, /*#__PURE__*/ _react.createElement("path", {
id: "cok_svg__c",
fill: "#fff",
d: "M0-1992l81 249h261l-211 153 81 249L0-1494l-212 153 81-249-211-153h261z"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(24)",
href: "#cok_svg__c"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(48)",
href: "#cok_svg__c"
})), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(72)",
href: "#cok_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(144)",
href: "#cok_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(216)",
href: "#cok_svg__d"
}), /*#__PURE__*/ _react.createElement("use", {
transform: "rotate(288)",
href: "#cok_svg__d"
})));
const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagCok);
const _default = ForwardRef;