@comfortdelgro/compass-icons
Version:
Icons for React Compass Design System
73 lines (71 loc) • 4.19 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 FlagPhl = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 240 120",
ref: ref,
...props
}, /*#__PURE__*/ _react.createElement("path", {
fill: "#0038a8",
d: "M0 0h240v120H0z"
}), /*#__PURE__*/ _react.createElement("path", {
fill: "#ce1126",
d: "M0 60h240v60H0z"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M103.923 60L0 120V0",
fill: "#fff"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M6 10.392l3.612 3.122 4.182-2.302-1.852 4.4 3.482 3.265-4.757-.402-2.03 4.32-1.088-4.647-4.737-.596 4.085-2.47zM87.317 53.66l.097 4.773L91.923 60l-4.51 1.567-.096 4.773-2.885-3.804-4.57 1.383L82.59 60l-2.727-3.919 4.57 1.383zM8.636 97.204l2.03 4.32 4.758-.401-3.482 3.266 1.852 4.4-4.182-2.303L6 109.608l.897-4.69-4.085-2.47 4.737-.596zM37.333 34.667l-1.558 1.558.773 11.8c-.263.017-.523.043-.78.076l-1.42-10.768-1.27 1.271 1.914 9.625c-1.575.312-3.039.93-4.326 1.793l-5.451-8.16h-1.8l6.613 8.619c-.208.16-.409.326-.605.499l-7.8-8.894H19.42v2.204l8.893 7.8c-.173.196-.339.398-.499.606l-8.618-6.614v1.8l8.16 5.452a11.928 11.928 0 00-1.793 4.324l-9.625-1.914-1.272 1.271 10.769 1.42c-.034.257-.06.517-.076.78l-11.801-.773L12 60l1.558 1.558 11.8-.773c.018.263.043.525.077.782l-10.769 1.418 1.272 1.271 9.625-1.914c.311 1.574.93 3.038 1.792 4.325l-8.159 5.452v1.798l8.618-6.612c.16.208.327.409.5.605l-8.894 7.8v2.204h2.204l7.799-8.894c.197.173.399.34.606.499l-6.613 8.618h1.799l5.453-8.16a11.914 11.914 0 004.324 1.795l-1.915 9.624 1.272 1.271 1.418-10.768c.258.033.518.059.781.076l-.773 11.8 1.558 1.558 1.558-1.558-.772-11.8c.262-.017.522-.043.78-.076l1.419 10.768 1.271-1.271-1.914-9.626a11.929 11.929 0 004.326-1.792l5.451 8.16h1.799l-6.612-8.619c.207-.16.408-.326.605-.499l7.8 8.894h2.203V75.71l-8.893-7.8c.172-.196.339-.398.498-.606l8.618 6.613V72.12l-8.16-5.453a11.928 11.928 0 001.794-4.324l9.625 1.914L60 62.985l-10.768-1.42c.034-.257.06-.517.076-.78l11.8.773L62.668 60l-1.558-1.558-11.8.773a11.928 11.928 0 00-.077-.78L60 57.014l-1.271-1.271-9.625 1.914a11.929 11.929 0 00-1.793-4.325l8.16-5.452v-1.799l-8.619 6.612c-.16-.207-.326-.408-.498-.604l8.893-7.8v-2.204h-2.204l-7.8 8.894c-.196-.173-.398-.34-.606-.499l6.614-8.618h-1.799L44 50.023a11.929 11.929 0 00-4.324-1.794l1.914-9.625-1.271-1.271-1.419 10.768c-.258-.033-.518-.059-.78-.076l.772-11.8z",
fill: "#fcd116"
}));
const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagPhl);
const _default = ForwardRef;