@ant-design/web3-icons
Version:
A collection of Web3 icons.
45 lines • 2.48 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: "M536 459.9 405.2 372 305.1 635l64 121.3L536 459.9z",
transform: "translate(-255.946 -372)",
fill: "#f9c011"
}), /*#__PURE__*/_jsx("path", {
d: "m618.4 597.3-74.2-133-285.8 520.9h143.3l216.7-387.9z",
transform: "translate(-258.381 -367.192)",
fill: "#db712a"
}), /*#__PURE__*/_jsx("path", {
d: "M529.3 775.2 411.1 986l191.2-115.4-73-95.4z",
transform: "translate(-250.422 -350.987)",
fill: "#b7230f"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 360 635"
};
/** */
export const IgnisColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ignis-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
IgnisColorful.displayName = 'IgnisColorful';