@ant-design/web3-icons
Version:
A collection of Web3 icons.
78 lines (77 loc) • 8.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SolflareColorful = 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 _id3 = (0, _react.useUniqueInlineId)();
const _id2 = (0, _react.useUniqueInlineId)();
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#ffc10b"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#fb3f2e"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "6.478",
x2: "34.911",
xlinkHref: `#${_id}`,
y1: "7.92",
y2: "33.659"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("radialGradient", {
id: _id3,
cx: "0",
cy: "0",
gradientTransform: "matrix(4.99219 12.06388 -12.18114 5.04071 22.52 20.618)",
gradientUnits: "userSpaceOnUse",
r: "1",
xlinkHref: `#${_id}`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M25.17 47.91c.526 0 .951.421.951.94s-.425.94-.95.94-.95-.42-.95-.94.425-.94.95-.94zM24.139 2.995a.99.99 0 0 1 .903.847l1.13 8.215c.38 2.715 3.654 3.89 5.675 2.046L43.175 3.792a.679.679 0 0 1 .95.038c.231.248.238.627.017.883l-9.88 11.396c-1.818 2.094-.476 5.364 2.296 5.598l8.717.84a.783.783 0 0 1 .71.852.784.784 0 0 1-.664.695l-9.159 1.43c-2.66.363-3.864 3.512-2.134 5.558l3.22 3.796a.716.716 0 0 1-.09 1.018.738.738 0 0 1-.915.02l-3.969-2.998c-2.142-1.61-5.23-.241-5.456 2.425l-.875 10.397a.787.787 0 0 1-.852.713.786.786 0 0 1-.717-.672l-1.387-10.044c-.372-2.714-3.646-3.89-5.675-2.046L5.26 44.665a.62.62 0 0 1-.868-.035.601.601 0 0 1-.015-.806l10.519-12.138c1.818-2.094.484-5.364-2.288-5.598l-8.719-.84a.783.783 0 0 1-.71-.853.785.785 0 0 1 .664-.695l9.153-1.43c2.66-.362 3.872-3.511 2.142-5.557l-2.192-2.584a.888.888 0 0 1 .113-1.262.915.915 0 0 1 1.133-.025l2.692 2.034c2.142 1.611 5.23.242 5.456-2.424l.724-8.56a.991.991 0 0 1 1.074-.897zM.951 23.435c.525 0 .95.42.95.94s-.425.94-.95.94c-.525 0-.951-.421-.951-.94s.426-.94.95-.94zm47.68-.955c.524 0 .95.42.95.94s-.426.94-.95.94-.951-.42-.951-.94.425-.94.95-.94zM24 0c.525 0 .95.421.95.94 0 .52-.425.94-.95.94a.945.945 0 0 1-.95-.94c0-.519.425-.94.95-.94z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M24.571 32.78c4.96 0 8.98-3.977 8.98-8.883 0-4.905-4.02-8.882-8.98-8.882s-8.98 3.977-8.98 8.882c0 4.906 4.02 8.882 8.98 8.882z",
fill: `url(#${_id3})`
})]
});
};
SVGComponent.defaultProps = {
fill: "none",
viewBox: "0 0 50 50",
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink"
};
/** */
const SolflareColorful = exports.SolflareColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-solflare-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
SolflareColorful.displayName = 'SolflareColorful';