@ant-design/web3-icons
Version:
A collection of Web3 icons.
78 lines (77 loc) • 5.79 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.AppcCircleColorful = 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 _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
x1: "20.29",
y1: "17.93",
x2: "86.38",
y2: "89.51",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#fc8f55"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: ".44",
stopColor: "#fe7a6a"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#fe687c"
})]
})
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "48.71",
cy: "48.71",
r: "48.71",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
cx: "48.71",
cy: "48.71",
r: "43.82",
fill: "none",
stroke: "#fff",
strokeMiterlimit: "10",
strokeWidth: "3"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "m42.38 53.92 6.48-19.72 6.6 19.72zm27.47 12.47-5.36-14.72h3.2A2.33 2.33 0 0 0 70 49.35a2.2 2.2 0 0 0-2.2-2.2h-5l-.8-2.29h5.69a2.3 2.3 0 0 0 2.3-2.24 2.3 2.3 0 0 0-2.31-2.31h-7.39l-4-11a9.91 9.91 0 0 0-2.87-4.05 6.7 6.7 0 0 0-4.52-1.52 6.89 6.89 0 0 0-4.54 1.52 10 10 0 0 0-2.88 4.05l-4.19 11.1h-7.35a2.22 2.22 0 0 0-2.22 2.21 2.3 2.3 0 0 0 2.3 2.3h5.58l-.86 2.23h-5a2.22 2.22 0 0 0-2.22 2.22 2.28 2.28 0 0 0 2.27 2.28H33l-5.45 14.74A7.64 7.64 0 0 0 27 69a4.82 4.82 0 0 0 1.52 3.3 5.49 5.49 0 0 0 3.64 1.34 4.9 4.9 0 0 0 5-3.62l2.11-6.29h19.41l2.11 6.44a4.93 4.93 0 0 0 5 3.44 4.66 4.66 0 0 0 2.4-.61 8.21 8.21 0 0 0 1.67-1.66 4.5 4.5 0 0 0 .61-2.34 15.36 15.36 0 0 0-.62-2.57z",
fill: "#fefefe"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 97.43 97.43"
};
/** */
const AppcCircleColorful = exports.AppcCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-appc-circle-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
AppcCircleColorful.displayName = 'AppcCircleColorful';