@ant-design/web3-icons
Version:
A collection of Web3 icons.
142 lines (141 loc) • 10.9 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TracColorful = 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 _id4 = (0, _react.useUniqueInlineId)();
const _id3 = (0, _react.useUniqueInlineId)();
const _id2 = (0, _react.useUniqueInlineId)();
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
...props,
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
transform: "translate(4.087 3.1)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "-793.078",
y1: "410.044",
x2: "-793.385",
y2: "409.671",
gradientTransform: "matrix(5.925 0 0 -4.867 4715.603 2009.563)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#fff",
stopOpacity: "0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#000",
stopOpacity: ".1"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m13 13.3 4.7 4v-.1c.4-.5.8-1.1 1.2-1.7l-5.3-3.1-.6.9z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "-807.454",
y1: "395.106",
x2: "-807.631",
y2: "394.771",
gradientTransform: "matrix(6.51 0 0 -4.232 5274.286 1682.787)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#fff",
stopOpacity: "0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#000",
stopOpacity: ".1"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M14.4 9.3h6.1v.1c0 .6-.1 1.2-.2 1.8v.4c-.1.6-.3 1.2-.5 1.8v.1L14 11.4c.3-.6.4-1.3.4-2.1z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "-824.856",
y1: "439.147",
x2: "-824.512",
y2: "438.574",
gradientTransform: "matrix(7.383 0 0 -6.886 6105.37 3027.752)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#fff",
stopOpacity: "0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#000",
stopOpacity: ".1"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M19 3.1c.3.6.6 1.2.8 1.8l.1.1v.1c.2.6.4 1.2.5 1.8V7l-6 1.1c-.2-1.1-.6-2.1-1.3-2.9l4.7-4v.1L19 3.1z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id3})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id4,
gradientUnits: "userSpaceOnUse",
x1: "-833.283",
y1: "446.1",
x2: "-832.424",
y2: "445.471",
gradientTransform: "matrix(7.881 0 0 -7.625 6575.341 3400.076)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#fff",
stopOpacity: "0"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#000",
stopOpacity: ".1"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M9.4 3.2c-.4-.1-.7-.1-1.1-.1v-6.2c.7 0 1.4.1 2.1.2.7.1 1.3.3 2 .5.6.2 1.3.5 1.9.9.6.3 1.1.7 1.7 1.2h.1l-3.9 4.7c-.5-.5-1.2-.8-1.8-1.1-.3 0-.7-.1-1-.1z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: `url(#${_id4})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M8.3-3.1v6.2c-3.4 0-6.2 2.8-6.2 6.2s2.8 6.2 6.2 6.2c1.8 0 3.6-.8 4.7-2.2l4.7 4c-2.3 2.8-5.8 4.4-9.4 4.4C1.5 21.7-4 16.2-4 9.3S1.4-3.1 8.3-3.1zm5.8 14.5 5.8 2.1c-.2.7-.6 1.3-.9 2l-5.3-3.1c.1-.3.3-.6.4-1zm6.3-4.3c.1.7.2 1.4.2 2.2h-6.1c0-.4 0-.7-.1-1.1l6-1.1zM16.2-.2c.5.5 1.1 1 1.5 1.5l-4.7 4c-.2-.3-.5-.5-.8-.8l4-4.7z",
fill: "#1d2667"
})]
})
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24.7 24.8",
xmlSpace: "preserve",
enableBackground: "new 0 0 24.7 24.8"
};
/** */
const TracColorful = exports.TracColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-trac-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
TracColorful.displayName = 'TracColorful';