@ant-design/web3-icons
Version:
A collection of Web3 icons.
105 lines (104 loc) • 7.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.AlphaCircleColorful = 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: "4.686",
y1: "4.576",
x2: "27.314",
y2: "27.204",
gradientTransform: "matrix(1 0 0 -1 0 31.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#102054"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#1A45B8"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id})`,
d: "M16 32c8.8 0 16-7.2 16-16S24.8 0 16 0 0 7.2 0 16s7.2 16 16 16z"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id2,
gradientUnits: "userSpaceOnUse",
x1: "19.392",
y1: "25.615",
x2: "19.392",
y2: "8.421",
gradientTransform: "matrix(1 0 0 -1 0 31.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#FFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#fff",
stopOpacity: ".6"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id2})`,
d: "M16 6.3v6.3l1.1 2.9-1.1-1v3.1c1.8 2.3 4.1 4.2 6.8 5.6L16 6.3z"
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id3,
gradientUnits: "userSpaceOnUse",
x1: "12.608",
y1: "8.541",
x2: "12.608",
y2: "25.415",
gradientTransform: "matrix(1 0 0 -1 0 31.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#FFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#fff",
stopOpacity: ".6"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: `url(#${_id3})`,
d: "M16 6.3v6.3l-1.1 2.9 1.1-1v3.1c-1.8 2.3-4.1 4.2-6.8 5.6L16 6.3z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
fill: "#F5CC02",
d: "M16 21.5c.9 0 1.5-.7 1.5-1.5 0-.9-.7-1.5-1.5-1.5-.9 0-1.5.7-1.5 1.5s.6 1.5 1.5 1.5z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 32 32",
xmlSpace: "preserve"
};
/** */
const AlphaCircleColorful = exports.AlphaCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-alpha-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
AlphaCircleColorful.displayName = 'AlphaCircleColorful';