@ant-design/web3-icons
Version:
A collection of Web3 icons.
50 lines • 5.07 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("g", {
clipPath: `url(#${_id})`,
children: /*#__PURE__*/_jsx("path", {
d: "M17.508 14.649c-.756-.439-1.61-.565-2.454-.593-.71-.023-1.766-.478-1.766-1.777a1.793 1.793 0 0 1 1.765-1.777c.846-.03 1.699-.156 2.455-.592a4.473 4.473 0 1 0-6.713-3.874c0 .867.307 1.664.702 2.405.33.622.498 1.777-.637 2.43a1.795 1.795 0 0 1-2.423-.663c-.444-.71-.987-1.382-1.732-1.81a4.472 4.472 0 1 0 0 7.747c.75-.434 1.288-1.1 1.732-1.81.365-.593 1.275-1.327 2.423-.664a1.795 1.795 0 0 1 .636 2.43c-.395.741-.702 1.539-.702 2.406a4.475 4.475 0 1 0 6.714-3.874v.016Z",
fill: "#008CFF"
})
}), /*#__PURE__*/_jsx("defs", {
children: /*#__PURE__*/_jsx("clipPath", {
id: _id,
children: /*#__PURE__*/_jsx("path", {
fill: "#fff",
d: "M0 0h93.593v24H0z"
})
})
})]
});
};
SVGComponent.defaultProps = {
viewBox: "-2 0 24 24",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const RippleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ripple-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
RippleColorful.displayName = 'RippleColorful';