@ant-design/web3-icons
Version:
A collection of Web3 icons.
88 lines (87 loc) • 6.6 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SuterColorful = 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 _id2 = (0, _react.useUniqueInlineId)();
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("mask", {
id: _id,
x: ".61",
y: "0",
width: "12.78",
height: "12.79",
maskUnits: "userSpaceOnUse",
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M.61 0h12.78v12.79H.61V0z",
fill: "#fff",
fillRule: "evenodd"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("mask", {
id: _id2,
x: "0",
y: "11.89",
width: "18.61",
height: "19.13",
maskUnits: "userSpaceOnUse",
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 11.89h18.61v19.13H0V11.89z",
fill: "#fff",
fillRule: "evenodd"
})
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
mask: `url(#${_id})`,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M1.1 12.3a1.67 1.67 0 0 1 0-2.37L10.52.49a1.7 1.7 0 0 1 2.38 0 1.7 1.7 0 0 1 0 2.38L3.47 12.3a1.67 1.67 0 0 1-2.37 0",
fillRule: "evenodd",
fill: "#242328"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
mask: `url(#${_id2})`,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M18.12 18.71a1.68 1.68 0 0 1 0 2.38L8.7 30.52a1.68 1.68 0 1 1-2.38-2.37l9.43-9.44a1.68 1.68 0 0 1 2.37 0m-17.63 2a1.7 1.7 0 0 1 0-2.38l6-6a1.67 1.67 0 0 1 2.37 0 1.7 1.7 0 0 1 0 2.38l-6 6a1.68 1.68 0 0 1-2.37 0",
fillRule: "evenodd",
fill: "#242328"
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M18.73 10.29a1.68 1.68 0 0 1 0 2.37l-6 6a1.68 1.68 0 1 1-2.37-2.38l6-6a1.67 1.67 0 0 1 2.37 0",
fillRule: "evenodd",
fill: "#a573ff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 19.22 31.02"
};
/** */
const SuterColorful = exports.SuterColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-suter-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
SuterColorful.displayName = 'SuterColorful';