@ant-design/web3-icons
Version:
A collection of Web3 icons.
111 lines (110 loc) • 8.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DydxColorful = 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,
gradientUnits: "userSpaceOnUse",
x1: "502.106",
y1: "2631.649",
x2: "317.62",
y2: "1858.615",
gradientTransform: "matrix(3.2895 0 0 -3.2895 0 8223.685)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#2C2C3D"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#1A1A27"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M511.2 0h1477.6C2272.4 0 2500 227.6 2500 511.2v1477.6c0 283.6-227.6 511.2-511.2 511.2H511.2A509.58 509.58 0 0 1 0 1988.8V511.2C0 227.6 227.6 0 511.2 0z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#FFF",
d: "M1573.2 567.3 600.3 1932.7h296.8l976.3-1365.4z"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "250.5",
y1: "2296.482",
x2: "372.822",
y2: "2150.097",
gradientTransform: "matrix(3.2895 0 0 -3.2895 0 8223.685)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#FFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#fff",
stopOpacity: ".549"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id2})`,
d: "M930.1 567.3 1217 969.7l-151.7 217.6-438.7-620z"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "508.688",
y1: "1947.268",
x2: "357.29",
y2: "2153.811",
gradientTransform: "matrix(3.2895 0 0 -3.2895 0 8223.685)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#6966FF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#6966ff",
stopOpacity: ".3608"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id3})`,
d: "M1599.6 1932.7 1283 1487.5l148.4-214.4 468.3 659.6z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M511.2 0h1477.6C2272.4 0 2500 227.6 2500 511.2v1477.6c0 283.6-227.6 511.2-511.2 511.2H511.2A509.58 509.58 0 0 1 0 1988.8V511.2C0 227.6 227.6 0 511.2 0z",
fill: "none",
stroke: "#2d2d3d",
strokeWidth: "6.5789",
strokeMiterlimit: "75.4132"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 2500 2500",
xmlSpace: "preserve"
};
/** */
const DydxColorful = exports.DydxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-dydx-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
DydxColorful.displayName = 'DydxColorful';