@ant-design/web3-icons
Version:
A collection of Web3 icons.
54 lines • 3.39 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 0h72c42 0 76 34 76 76H0V0zM163 0h72c42 0 76 34 76 76H163V0zM0 168h72c42 0 76-34 76-76H0v76zM163 168h72c42 0 76-34 76-76H163v76zM305 0h53.3L472 168h-56.3L305 0z",
fill: "#2d1680"
}), /*#__PURE__*/_jsx("path", {
d: "m424.5 66-44-64.5h89l-45 64.5z",
opacity: ".9329",
fill: "#ef88aa",
stroke: "#ef88aa",
strokeWidth: "3",
strokeDasharray: "229.2358,245.7249",
enableBackground: "new"
}), /*#__PURE__*/_jsx("path", {
d: "m350 103-43.5 62.5h85L350 103z",
opacity: ".9329",
fill: "#ef88aa",
stroke: "#ef88aa",
strokeWidth: "5",
strokeDasharray: "220.3232,236.1712",
enableBackground: "new"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 472.4 168",
xmlSpace: "preserve",
enableBackground: "new 0 0 472.4 168"
};
/** */
export const DdxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ddx-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
DdxColorful.displayName = 'DdxColorful';