@ant-design/web3-icons
Version:
A collection of Web3 icons.
35 lines • 1.56 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";
var SVGComponent = function SVGComponent(props) {
return /*#__PURE__*/_jsx("svg", {
...props,
children: /*#__PURE__*/_jsx("path", {
d: "M16.2 8.4 19 13 5.2 36.4H0zM21.4 0h-6.1l19.3 31.7h-5.3l-8.6-14.8L9.5 35.8h5.8l5.4-10.1 5.9 10.1h15.1z",
fill: "#e5b349"
})
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 41.7 36.4",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const AplColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-apl-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
AplColorful.displayName = 'AplColorful';