UNPKG

@comfortdelgro/compass-icons

Version:
93 lines (91 loc) 3.07 kB
"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 FlagZaf = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 9 6", ref: ref, ...props }, /*#__PURE__*/ _react.createElement("clipPath", { id: "zaf_svg__c" }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0l4.5 3L0 6", id: "zaf_svg__b" })), /*#__PURE__*/ _react.createElement("clipPath", { id: "zaf_svg__a" }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0h9v6H0z" })), /*#__PURE__*/ _react.createElement("g", { clipPath: "url(#zaf_svg__a)" }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0v6h9V0z", fill: "#001489" }), /*#__PURE__*/ _react.createElement("path", { d: "M0 0v3h9V0z", fill: "#e03c31" }), /*#__PURE__*/ _react.createElement("g", { strokeWidth: 2, stroke: "#fff" }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0l4.5 3L0 6m4.5-3H9", id: "zaf_svg__d" }), /*#__PURE__*/ _react.createElement("use", { stroke: "#ffb81c", clipPath: "url(#zaf_svg__c)", href: "#zaf_svg__b" })), /*#__PURE__*/ _react.createElement("use", { fill: "none", stroke: "#007749", strokeWidth: 1.2, href: "#zaf_svg__d" }))); const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagZaf); const _default = ForwardRef;