@comfortdelgro/compass-icons
Version:
Icons for React Compass Design System
125 lines (123 loc) • 4.42 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 FlagAus = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", {
width: "1em",
height: "1em",
viewBox: "0 0 10080 5040",
ref: ref,
...props
}, /*#__PURE__*/ _react.createElement("defs", null, /*#__PURE__*/ _react.createElement("path", {
id: "aus_svg__a",
d: "M0-360l69.421 215.845 212.038-80.301L155.99-35.603l194.985 115.71-225.881 19.651 31.105 224.59L0 160l-156.198 164.349 31.105-224.59-225.881-19.651 194.986-115.711-125.471-188.853 212.038 80.301z"
}), /*#__PURE__*/ _react.createElement("path", {
id: "aus_svg__d",
d: "M0-210L54.86-75.508l144.862 10.614L88.765 28.842l34.67 141.052L0 93.334l-123.435 76.56 34.67-141.052-110.957-93.736L-54.86-75.508z"
}), /*#__PURE__*/ _react.createElement("clipPath", {
id: "aus_svg__b"
}, /*#__PURE__*/ _react.createElement("path", {
d: "M0 0v1.5h7V3H6zm6 0H3v3.5H0V3z"
})), /*#__PURE__*/ _react.createElement("use", {
id: "aus_svg__c",
transform: "scale(2.1)",
href: "#aus_svg__a"
})), /*#__PURE__*/ _react.createElement("path", {
fill: "#012169",
d: "M0 0h10080v5040H0z"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M0 0l5040 2520m0-2520L0 2520",
stroke: "#fff",
strokeWidth: 504
}), /*#__PURE__*/ _react.createElement("path", {
d: "M0 0l6 3m0-3L0 3",
stroke: "#e4002b",
strokeWidth: 0.4,
clipPath: "url(#aus_svg__b)",
transform: "scale(840)"
}), /*#__PURE__*/ _react.createElement("path", {
d: "M2520 0v2940M0 1260h5880",
stroke: "#fff",
strokeWidth: 840
}), /*#__PURE__*/ _react.createElement("path", {
d: "M2520 0v2940M0 1260h5880",
stroke: "#e4002b",
strokeWidth: 504
}), /*#__PURE__*/ _react.createElement("path", {
d: "M0 2520h5040V0h1680v3360H0z",
fill: "#012169"
}), /*#__PURE__*/ _react.createElement("g", {
fill: "#fff"
}, /*#__PURE__*/ _react.createElement("use", {
x: 2520,
y: 3780,
href: "#aus_svg__c"
}), /*#__PURE__*/ _react.createElement("use", {
x: 7560,
y: 4200,
href: "#aus_svg__a"
}), /*#__PURE__*/ _react.createElement("use", {
x: 6300,
y: 2205,
href: "#aus_svg__a"
}), /*#__PURE__*/ _react.createElement("use", {
x: 7560,
y: 840,
href: "#aus_svg__a"
}), /*#__PURE__*/ _react.createElement("use", {
x: 8680,
y: 1869,
href: "#aus_svg__a"
}), /*#__PURE__*/ _react.createElement("use", {
x: 8064,
y: 2730,
href: "#aus_svg__d"
})));
const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagAus);
const _default = ForwardRef;