@ant-design/web3-icons
Version:
A collection of Web3 icons.
42 lines • 2.06 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: "M984.3 0 0 1719.5h490.8l747.4-1282L984.3 0z",
fill: "#1562a1"
}), /*#__PURE__*/_jsx("path", {
d: "m525.7 1726.1 653.8-380.7-251.3-311.1-402.5 691.8z",
fill: "#0c426c"
}), /*#__PURE__*/_jsx("path", {
d: "m1411.9 748.7-471.4 257 590.4 720h453.3l-572.3-977z",
fill: "#3c87c7"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 1984.3 1726.1"
};
/** */
export const ArdrColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ardr-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ArdrColorful.displayName = 'ArdrColorful';