@ant-design/web3-icons
Version:
A collection of Web3 icons.
96 lines (95 loc) • 5.74 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.KbcColorful = void 0;
var _react = require("@inline-svg-unique-id/react");
var React = _interopRequireWildcard(require("react"));
var _icons = _interopRequireDefault(require("@ant-design/icons"));
var _antd = require("antd");
var _classnames = _interopRequireDefault(require("classnames"));
var _utils = require("../utils");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var SVGComponent = function SVGComponent(props) {
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "146.706",
x2: "150.039",
y1: "3.921",
y2: "365.254",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#f9f091"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".1",
stopColor: "#e4c86d"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".135",
stopColor: "#ddc370"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".2",
stopColor: "#d5be74"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".21",
stopColor: "#dbc271"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".234",
stopColor: "#e2c76e"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".3",
stopColor: "#e4c86d"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".4",
stopColor: "#f9f091"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".5",
stopColor: "#e3c86d"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".6",
stopColor: "#d5be74"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".7",
stopColor: "#e3c86d"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".8",
stopColor: "#f9f091"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".9",
stopColor: "#e3c86d"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#d5be74"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m82.8 167.1-62 60V0h62zm164.4 119.7-82.8-115L289.1 0h-22L20.8 239.4V361h62V186.5l112.7 171.7zM251.8 0h-58.3L86.4 163.8zm-46.3 361H300l-47.3-69.9zM14.8 0H0v361h14.8z",
fill: `url(#${_id})`
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 300 361",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const KbcColorful = exports.KbcColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-kbc-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
KbcColorful.displayName = 'KbcColorful';