@ant-design/web3-icons
Version:
A collection of Web3 icons.
68 lines (67 loc) • 5.62 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.XautColorful = 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.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x1: "4846.23",
y1: "-4671.46",
x2: "13324.84",
y2: "-4671.46",
gradientTransform: "matrix(.07 0 0 -.07 -348.93 -70.13)",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#d8b35d"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#f5e7bf"
})]
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M112.11 2.71.49 237.12a4.36 4.36 0 0 0 .9 5.23L302.7 531.22a4.72 4.72 0 0 0 6.32 0l301.49-288.87a4.41 4.41 0 0 0 .9-5.23L499.79 2.71a4.12 4.12 0 0 0-4-2.71H116.07a4.49 4.49 0 0 0-4 2.71Z",
fill: `url(#${_id})`,
fillRule: "evenodd"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M344.72 261.1c-2.16.18-13.34.9-38.23.9-19.83 0-33.9-.54-38.95-.9-76.63-3.42-133.79-16.77-133.79-32.64s57.16-29.39 133.79-32.81v52.11c5 .36 19.3 1.26 39.13 1.26 23.8 0 35.7-1.08 37.87-1.26v-52.11c76.45 3.42 133.61 16.77 133.61 32.63s-57 29.4-133.43 32.82Zm0-70.68v-46.71h106.75V72.49H160.8v71.22h106.74v46.71c-86.73 4-152 21.09-152 41.83s65.27 37.69 152 41.83v149.49h77.18V274.08c86.55-4 151.65-21.1 151.65-41.65s-65.1-38.05-151.65-42Z",
fillRule: "evenodd",
fill: "#fff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 611.9 532.43"
};
/** */
const XautColorful = exports.XautColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-xaut-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
XautColorful.displayName = 'XautColorful';