@ant-design/web3-icons
Version:
A collection of Web3 icons.
50 lines • 4.76 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: "M5.5-.5h20c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6h-20c-3.3 0-6-2.7-6-6v-20c0-3.3 2.7-6 6-6z",
transform: "translate(1 1)",
fillRule: "evenodd",
clipRule: "evenodd",
fill: "#181818",
stroke: "#fff"
}), /*#__PURE__*/_jsx("path", {
d: "M1.8 5.6H-.5V4.2h2.3V2.9c0-.8.2-1.5.7-2.1.5-.7 1.1-1 1.9-1.2.6-.1 1.2-.1 1.9-.1.6.1 1.3.3 1.9.5h.1l-.4 1.3c-.1 0-.2-.1-.3-.1C6.9.8 6 .8 5.2.9c-1 .2-1.6.8-1.7 1.8-.1.3-.1.7-.1 1v.5h4v1.3h-4v8.3H1.8V5.6z",
transform: "translate(7 9.75)",
fill: "#fff"
}), /*#__PURE__*/_jsx("path", {
d: "M14.7 9.8c.4-.7.8-1.5 1.2-2.2.1-.3.3-.6.4-.9h-1.5s-.7 1.5-1 2.2c-.3-.7-1.1-2.2-1.1-2.2h-1.6s1.2 2.1 1.7 3c-.5.9-1.7 3-1.7 3h1.6s.7-1.5 1.1-2.1c.3.7 1 2.1 1 2.1h1.5c-.1-.2-1.2-2.2-1.6-2.9zm-4.2 3.5c-.3.2-.5.4-.8.6-2.2-2-2.5-6 0-8.4.3.3.6.5.8.7-.1.1-.1.2-.2.2-.5.7-.9 1.4-1 2.2-.1.5-.1 1-.1 1.6 0 .6.2 1.2.4 1.7s.5.9.9 1.4c0-.1 0 0 0 0zm6.4 0c.3.2.5.4.8.6 2.2-2 2.5-6 0-8.4-.3.2-.5.4-.8.7.1.1.1.2.2.3.5.6.9 1.3 1.1 2.2.1.5.1 1 .1 1.6 0 .6-.2 1.2-.4 1.7-.3.4-.6.8-1 1.3.1-.1 0 0 0 0z",
transform: "translate(7 9.75)",
fill: "#f7d509"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 33 33",
xmlSpace: "preserve",
enableBackground: "new 0 0 33 33"
};
/** */
export const FxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-fx-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
FxColorful.displayName = 'FxColorful';