@ant-design/web3-icons
Version:
A collection of Web3 icons.
42 lines • 2.61 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("circle", {
cx: "256",
cy: "256",
r: "256",
fill: "#fff"
}), /*#__PURE__*/_jsx("path", {
d: "M174.1 95.9 189 78l66.9 80.5L322.7 78l14.9 17.9L203.8 257l52.1 62.7L308 257l-39.5-47.5 14.9-17.9 46.8 56.4c.3.4.6.7.8 1.1l6.6 8-66.9 80.5 66.9 80.5-14.9 17.9-148.6-178.9 2.7-3.3c.2-.3.3-.5.5-.8l63.6-76.6-66.8-80.5zM174.2 418.1l55.9-67.3 14.9 17.9-56 67.3-14.8-17.9z"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 512 512",
xmlSpace: "preserve",
enableBackground: "new 0 0 512 512"
};
/** */
export const DrcColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-drc-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
DrcColorful.displayName = 'DrcColorful';