@ant-design/web3-icons
Version:
A collection of Web3 icons.
84 lines (83 loc) • 7.11 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.BswCircleColorful = 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.jsx)("path", {
d: "M27.1 54.2c15 0 27.1-12.1 27.1-27.1C54.2 12.1 42 0 27.1 0 12.1 0 0 12.1 0 27.1 0 42 12.1 54.2 27.1 54.2z",
fill: "#FFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "36.781",
y1: "39.801",
x2: "30.393",
y2: "4.609",
gradientTransform: "matrix(1 0 0 -1 0 55.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#FF496A"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#E42648"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M48 10.2c-1.9.4-3.7.9-5.1 1.2-3.4.8-6.5 3.3-7.2 8-.6 4.2.8 6 .2 10.9-1.1 8.6-9.3 11.5-13.1 13.3-2.2 1-7.6 3.4-11.7 5.2 4.5 3.3 10 5.3 16.1 5.3 15 0 27.1-12.1 27.1-27.1 0-6.4-2.2-12.2-5.9-16.9-.2.1-.3.1-.4.1z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "15.552",
y1: "15.125",
x2: "29.676",
y2: "55.011",
gradientTransform: "matrix(1 0 0 -1 0 55.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".002",
stopColor: "#1158F1"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#119BED"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id2})`,
d: "M24 23.1c2.1-4.5 1.3-4.5 2.9-8.8 2-5.4 8.2-3.8 9.9-3.6 2.8.4 3.6-.6 9.5-1.6.3 0 .6-.1.9-.1C42.2 3.5 35 0 27 0 16.3 0 7 6.3 2.6 15.4c9 2.2 18.6 7 21.4 7.7zM18.1 4.7c.8.1 4.6 4.9 5.3 17.1 0 0-4.9-1.2-6-3.7-.8-2.1.3-4.9.7-13.4zm30.1 5.5H48h.2zM0 27.1c0-2.2.3-4.3.7-6.3 1 .8 2 1.7 3.1 2.8 7.1 6.5 18.5 11.7 22.7 6.9-.8 1-3.7 4.2-9.2 3.2L8.6 46.8C3.3 41.9 0 34.9 0 27.1z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 54.2 54.2",
xmlSpace: "preserve"
};
/** */
const BswCircleColorful = exports.BswCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-bsw-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
BswCircleColorful.displayName = 'BswCircleColorful';