@ant-design/web3-icons
Version:
A collection of Web3 icons.
50 lines • 3.47 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: "m9.9 0 15.4 26.6 5.1-8.9L20.1 0z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#ed3524"
}), /*#__PURE__*/_jsx("path", {
d: "m9.9 18.2 5.3 8.4h10.6l-5.3-8.4z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#ae1e23"
}), /*#__PURE__*/_jsx("path", {
d: "M5.3 8.4 0 17.5l5.3 9.1L16 8.4z",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#ed3524"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 30.4 26.6",
xmlSpace: "preserve",
enableBackground: "new 0 0 30.4 26.6"
};
/** */
export const AktColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-akt-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
AktColorful.displayName = 'AktColorful';