@ant-design/web3-icons
Version:
A collection of Web3 icons.
39 lines • 2.52 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: "m20 33.52 25 14.32a1.32 1.32 0 0 0 2-1.14V20.32a1.31 1.31 0 0 0-2-1.13ZM44.47 12.85 27.38.28a1.36 1.36 0 0 0-2.14.72L19 29l25.32-14a1.26 1.26 0 0 0 .15-2.15M27.36 66.75l17.11-12.57a1.28 1.28 0 0 0-.14-2.18L19 38l6.24 28a1.35 1.35 0 0 0 2.12.77",
fill: "#31cb9e"
}), /*#__PURE__*/_jsx("path", {
d: "M13.5 33 20 2.6a1.29 1.29 0 0 0-2-1.31L1.35 14.06A3.45 3.45 0 0 0 0 16.81v32.4A3.45 3.45 0 0 0 1.35 52l16.57 12.73a1.29 1.29 0 0 0 2-1.31Z",
fill: "#31cb9e"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 47 67.05"
};
/** */
export const KncColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-knc-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
KncColorful.displayName = 'KncColorful';