@comfortdelgro/compass-icons
Version:
Icons for React Compass Design System
72 lines (70 loc) • 2.49 kB
JavaScript
;
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 FlagTun = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 120 80",
ref: ref,
...props
}, /*#__PURE__*/ _react.createElement("g", {
fill: "#e70013"
}, /*#__PURE__*/ _react.createElement("path", {
d: "M-60-40H60v80H-60z"
}), /*#__PURE__*/ _react.createElement("circle", {
fill: "#fff",
r: 20
}), /*#__PURE__*/ _react.createElement("path", {
d: "M0-15A15 15 0 00-15 0 15 15 0 000 15a15 15 0 0012.102-6.165A12 12 0 014 12 12 12 0 01-8 0 12 12 0 014-12a12 12 0 018.101 3.167A15 15 0 000-15z"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M-5 0l16.281-5.29L1.22 8.56V-8.56L11.28 5.29z"
})));
const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagTun);
const _default = ForwardRef;