@ant-design/web3-icons
Version:
A collection of Web3 icons.
60 lines • 3.91 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: "m47.015 40.797 23.507-13.572-23.507-13.653v27.225z",
fill: "#2a3d58"
}), /*#__PURE__*/_jsx("path", {
d: "M47.015 40.797 23.507 27.225l23.508-13.653v27.225zM70.522 0 47.015 13.572l23.507 13.653V0z",
fill: "#0f2631"
}), /*#__PURE__*/_jsx("path", {
d: "M70.522 0 94.03 13.572 70.522 27.225V0z",
fill: "#2a3d58"
}), /*#__PURE__*/_jsx("path", {
d: "M23.507 0 0 13.572l23.507 13.653V0z",
fill: "#0f2631"
}), /*#__PURE__*/_jsx("path", {
d: "m23.507 0 23.508 13.572-23.508 13.653V0zM47.015 78.231l23.507-13.572-23.507-13.652v27.224z",
fill: "#2a3d58"
}), /*#__PURE__*/_jsx("path", {
d: "M47.015 78.231 23.507 64.659l23.508-13.652v27.224zM70.522 37.435 47.015 51.007l23.507 13.652V37.435z",
fill: "#0f2631"
}), /*#__PURE__*/_jsx("path", {
d: "M70.522 37.435 94.03 51.007 70.522 64.659V37.435z",
fill: "#2a3d58"
}), /*#__PURE__*/_jsx("path", {
d: "M23.507 37.435 0 51.007l23.507 13.652V37.435z",
fill: "#0f2631"
}), /*#__PURE__*/_jsx("path", {
d: "m23.507 37.435 23.508 13.572-23.508 13.652V37.435z",
fill: "#2a3d58"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 94.03 78.231"
};
/** */
export const ElaColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ela-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ElaColorful.displayName = 'ElaColorful';