@ant-design/web3-icons
Version:
A collection of Web3 icons.
105 lines (104 loc) • 10.8 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ChromeCircleColorful = 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)("defs", {
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
x1: "74.955%",
y1: "95.836%",
x2: "19.79%",
y2: "-4.168%",
id: _id,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#1E8E3E",
offset: "0%"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#34A853",
offset: "100%"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
x1: "21.293%",
y1: "100.177%",
x2: "59.787%",
y2: ".181%",
id: _id2,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FCC934",
offset: "0%"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#FBBC04",
offset: "100%"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
x1: "0%",
y1: "50%",
x2: "100%",
y2: "50%",
id: _id3,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#D93025",
offset: "0%"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
stopColor: "#EA4335",
offset: "100%"
})]
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
fillRule: "nonzero",
fill: "none",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M512.007 767.99c141.392 0 256.012-114.622 256.012-256.015 0-141.394-114.62-256.015-256.012-256.015-141.391 0-256.011 114.621-256.011 256.015 0 141.393 114.62 256.015 256.011 256.015Z",
fill: "#FFF"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M290.295 640.04 68.617 256.077A511.876 511.876 0 0 0 0 512.076a511.916 511.916 0 0 0 256.028 443.387A511.91 511.91 0 0 0 512.043 1024L733.72 640.04v-.067a255.945 255.945 0 0 1-221.693 128.093A255.948 255.948 0 0 1 290.295 640.04Z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m733.704 640.023-221.676 383.96a511.906 511.906 0 0 0 443.317-767.985H511.99l-.055.035a255.957 255.957 0 0 1 221.778 127.949 255.978 255.978 0 0 1 34.312 128.02 255.98 255.98 0 0 1-34.319 128.02h-.003Z",
fill: `url(#${_id2})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M512.007 714.71c111.935 0 202.677-90.744 202.677-202.68s-90.742-202.68-202.677-202.68c-111.935 0-202.675 90.744-202.675 202.68s90.74 202.68 202.675 202.68Z",
fill: "#1A73E8"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M512.009 256.015h443.354a511.917 511.917 0 0 0-187.39-187.424A511.963 511.963 0 0 0 511.973 0 511.824 511.824 0 0 0 255.98 68.627a511.904 511.904 0 0 0-187.363 187.45l221.677 383.96.056.031a255.963 255.963 0 0 1 221.657-384.053Z",
fill: `url(#${_id3})`
})]
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 1024 1024",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
const ChromeCircleColorful = exports.ChromeCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-chrome-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
ChromeCircleColorful.displayName = 'ChromeCircleColorful';