@comfortdelgro/compass-icons
Version:
Icons for React Compass Design System
99 lines (97 loc) • 3.2 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 FlagCom = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 500 300",
ref: ref,
...props
}, /*#__PURE__*/ _react.createElement("path", {
fill: "#3A75C4",
d: "M0 0h500v300H0z"
}), /*#__PURE__*/ _react.createElement("path", {
fill: "#CE1126",
d: "M0 0h500v225H0z"
}), /*#__PURE__*/ _react.createElement("path", {
fill: "#FFF",
d: "M0 0h500v150H0z"
}), /*#__PURE__*/ _react.createElement("path", {
fill: "#FFC61E",
d: "M0 0h500v75H0z"
}), /*#__PURE__*/ _react.createElement("path", {
fill: "#3D8E33",
d: "M0 300l250-150L0 0v300z"
}), /*#__PURE__*/ _react.createElement("circle", {
fill: "#FFF",
cx: 85,
cy: 150,
r: 67.5
}), /*#__PURE__*/ _react.createElement("circle", {
fill: "#3D8E33",
cx: 115,
cy: 150,
r: 67.5
}), /*#__PURE__*/ _react.createElement("path", {
id: "com_svg__a",
fill: "#FFF",
d: "M100.01 89.2l7.36 22.588-19.258-13.949h23.776L92.63 111.788l7.38-22.588z"
}), /*#__PURE__*/ _react.createElement("use", {
y: 32.208,
href: "#com_svg__a"
}), /*#__PURE__*/ _react.createElement("use", {
y: 64.417,
href: "#com_svg__a"
}), /*#__PURE__*/ _react.createElement("use", {
y: 96.625,
href: "#com_svg__a"
}));
const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagCom);
const _default = ForwardRef;