@ant-design/web3-icons
Version:
A collection of Web3 icons.
44 lines • 2.56 kB
JavaScript
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
import * as React from 'react';
import AntdIcon from '@ant-design/icons';
import { ConfigProvider } from 'antd';
import classnames from 'classnames';
import { eraseDefaultProps } from "../utils";
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
var SVGComponent = function SVGComponent(props) {
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("path", {
d: "M0 0h2000v2000H0z",
fill: "#efd96f"
}), /*#__PURE__*/_jsx("path", {
d: "M1423 732c-228 0-416 183-586 335-49-43-104-96-146-146-4-5-10-6-13-4-4 3-5 9-1 13 39 48 91 106 140 155-91 86-230 190-342 190-226 0-227-313-29-372 9-2 9-13 0-10-259 64-245 429 34 429 133 0 255-89 378-194 133 120 301 218 517 218 548 0 532-614 48-614zm-52 567c-173-1-341-77-488-192 167-145 336-311 535-311 388 0 398 506-47 503z",
fill: "#333"
}), /*#__PURE__*/_jsx("circle", {
cx: "564",
cy: "861",
r: "56",
fill: "#333"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 2000 2000"
};
/** */
export const SwtColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-swt-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
SwtColorful.displayName = 'SwtColorful';