@ant-design/web3-icons
Version:
A collection of Web3 icons.
66 lines (65 loc) • 10.7 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.HardhatColorful = void 0;
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) {
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M256 148.407s-38.993-5.777-59.597-7.434c-19.788-1.59-43.236-2.508-68.392-2.508-25.155 0-48.603.918-68.385 2.508-20.61 1.68-59.598 9.695-59.598 9.695v10.076c0 8.956 57.303 16.233 127.983 16.233 70.681 0 127.983-7.277 127.983-16.233l.006-12.337ZM88.66 14.764c-46.734 16.652-77.943 60.9-77.946 110.513v16.614a283.954 283.954 0 0 1 50.804-7.366 274.27 274.27 0 0 1-.18-9.634c.017-43.594 10.54-82.822 27.322-110.127Z",
fill: "#F0D50C"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M245.303 125.277A116.806 116.806 0 0 0 218.53 50.69a243.215 243.215 0 0 1 11.105 74.212c0 4.58-.117 9.106-.352 13.58a143.897 143.897 0 0 1 15.835 3.359l.185-16.564Z",
fill: "#FFF04D"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M245.303 125.277A116.806 116.806 0 0 0 218.53 50.69a243.215 243.215 0 0 1 11.105 74.212c0 4.58-.117 9.106-.352 13.58a143.897 143.897 0 0 1 15.835 3.359l.185-16.564Z",
fill: "#FFEA00"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M218.53 50.684C187.104 12.59 135.2-1.766 88.666 14.764c-16.793 27.305-27.31 66.533-27.31 110.133 0 3.235.059 6.446.178 9.633 17.465-1.349 37.683-2.183 59.335-2.334h7.154a684.26 684.26 0 0 1 101.27 6.308c.229-4.478.346-9.004.354-13.58a243.21 243.21 0 0 0-11.117-74.24Z",
fill: "#FFF04D"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m175.193 58.442-7.433-46.46a8.956 8.956 0 0 0-6.292-7.215 117.812 117.812 0 0 0-66.348 0 8.956 8.956 0 0 0-6.286 7.215l-7.44 46.46M128.023 131.21h-7.16c-67.355.471-120.83 7.546-120.83 16.206v12.55c-.108.735.049 1.485.443 2.115a29.92 29.92 0 0 1 11.531-5.295c10.64-2.589 21.456-4.4 32.36-5.418a21.668 21.668 0 0 1 16.977 5.541 45.67 45.67 0 0 0 30.843 11.985h71.649a45.678 45.678 0 0 0 30.843-11.985 21.657 21.657 0 0 1 16.983-5.547 225.527 225.527 0 0 1 32.354 5.419 27.053 27.053 0 0 1 10.937 4.786c.185.184.398.347.56.514a3.146 3.146 0 0 0 .448-2.127v-12.55c.039-8.928-57.263-16.193-127.938-16.193Z",
fill: "#FFF04D"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#6E6F70",
d: "m154.98 93.942-26.991 16.614v21.578z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#0A0A0A",
d: "M128.017 132.134v-21.578l-26.992-16.614zM101.025 84.085l26.992 15.606V40.429z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#6E6F70",
d: "M154.98 84.085 127.99 40.424V99.685L154.98 84.08z"
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 256 177",
xmlns: "http://www.w3.org/2000/svg",
preserveAspectRatio: "xMidYMid"
};
/** */
const HardhatColorful = exports.HardhatColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-hardhat-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
HardhatColorful.displayName = 'HardhatColorful';