@ant-design/web3-icons
Version:
A collection of Web3 icons.
49 lines • 2.94 kB
JavaScript
import { useUniqueInlineId } from '@inline-svg-unique-id/react';
// 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) {
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("defs", {
children: /*#__PURE__*/_jsx("clipPath", {
id: _id,
children: /*#__PURE__*/_jsx("path", {
d: "M0 0h75v75H0z",
fill: "none"
})
})
}), /*#__PURE__*/_jsx("g", {
clipPath: `url(#${_id})`,
children: /*#__PURE__*/_jsx("path", {
d: "m40.52 39.27 13.15 13.15a2.51 2.51 0 0 1-.25 3.76 23.76 23.76 0 1 1 .09-37.3 2.48 2.48 0 0 1 .16 3.69L40.51 35.73a2.5 2.5 0 0 0-.54.81 2.65 2.65 0 0 0-.19 1 2.46 2.46 0 0 0 .2 1 2.4 2.4 0 0 0 .54.81ZM37.5 0A37.5 37.5 0 1 0 75 37.5 37.5 37.5 0 0 0 37.5 0Z",
fill: "#69e2dc"
})
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 75 75"
};
/** */
export const CreamCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-cream-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
CreamCircleColorful.displayName = 'CreamCircleColorful';