@ant-design/web3-icons
Version:
A collection of Web3 icons.
51 lines • 2.69 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: "m12.84.28 24.26 14v14.28L0 7.14 11.89.28a1 1 0 0 1 .95 0Z",
fill: "#3ca9e5"
}), /*#__PURE__*/_jsx("path", {
d: "M37.1 0 24.73 7.14l12.37 7.14V0z",
fill: "#2853c3"
}), /*#__PURE__*/_jsx("path", {
d: "M37.1 0 49 6.86a1 1 0 0 1 .48.83v28L37.1 28.56V0Z",
fill: "#1a4199"
}), /*#__PURE__*/_jsx("path", {
d: "m49.47 35.7-11.89 6.86a1 1 0 0 1-1 0l-24.25-14v-14.3Z",
fill: "#2853c3"
}), /*#__PURE__*/_jsx("path", {
d: "M0 7.14v28a1 1 0 0 0 .48.86l11.89 6.86v-28.6Z",
fill: "#60beff"
}), /*#__PURE__*/_jsx("path", {
d: "m12.37 42.84 12.36-7.14-12.36-7.14v14.28z",
fill: "#3ca9e5"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 49.48 42.86"
};
/** */
export const NexoColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-nexo-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
NexoColorful.displayName = 'NexoColorful';