UNPKG

@comfortdelgro/compass-icons

Version:
111 lines (109 loc) 3.88 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 FlagNiu = (props, ref)=>/*#__PURE__*/ _react.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 120 60", ref: ref, ...props }, /*#__PURE__*/ _react.createElement("clipPath", { id: "niu_svg__a" }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0v15h70v15H60zm0 30v10h30V0h30z" })), /*#__PURE__*/ _react.createElement("path", { fill: "#012169", d: "M0 0h120v60H0z" }), /*#__PURE__*/ _react.createElement("g", { stroke: "#c8102e", strokeWidth: 6 }, /*#__PURE__*/ _react.createElement("path", { d: "M0 0l60 30m0-30L0 30", stroke: "#fff" }), /*#__PURE__*/ _react.createElement("path", { d: "M0 0l60 30m0-30L0 30", clipPath: "url(#niu_svg__a)", strokeWidth: 4 }), /*#__PURE__*/ _react.createElement("path", { d: "M30 0v40M0 15h70", stroke: "#fff", strokeWidth: 10 }), /*#__PURE__*/ _react.createElement("path", { d: "M30 0v40M0 15h70" })), /*#__PURE__*/ _react.createElement("path", { d: "M60 0h60v60H0V30h60z", fill: "#fedd00" }), /*#__PURE__*/ _react.createElement("g", { transform: "translate(30 15)" }, /*#__PURE__*/ _react.createElement("g", { transform: "scale(5.1039)" }, /*#__PURE__*/ _react.createElement("circle", { r: 1, fill: "#012169" }), /*#__PURE__*/ _react.createElement("path", { id: "niu_svg__b", d: "M0-513674l301930 929245-790463-574305h977066l-790463 574305", fill: "#fedd00", transform: "scale(0)" })), /*#__PURE__*/ _react.createElement("use", { transform: "matrix(3 0 0 3 -17.5 .29)", href: "#niu_svg__b" }), /*#__PURE__*/ _react.createElement("use", { transform: "matrix(3 0 0 3 17.5 .29)", href: "#niu_svg__b" }), /*#__PURE__*/ _react.createElement("use", { transform: "matrix(3 0 0 3 0 10.29)", href: "#niu_svg__b" }), /*#__PURE__*/ _react.createElement("use", { transform: "matrix(3 0 0 3 0 -9.71)", href: "#niu_svg__b" }))); const ForwardRef = /*#__PURE__*/ (0, _react.forwardRef)(FlagNiu); const _default = ForwardRef;