@ant-design/web3-icons
Version:
A collection of Web3 icons.
59 lines • 4.7 kB
JavaScript
import { useUniqueInlineId } from '@inline-svg-unique-id/react';
// 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) {
const _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("defs", {
children: /*#__PURE__*/_jsx("path", {
id: _id,
d: "M0 0h139v113H0z"
})
}), /*#__PURE__*/_jsx("clipPath", {
id: _id2,
children: /*#__PURE__*/_jsx("use", {
xlinkHref: `#${_id}`,
overflow: "visible"
})
}), /*#__PURE__*/_jsxs("g", {
clipPath: `url(#${_id2})`,
children: [/*#__PURE__*/_jsx("path", {
d: "M124.1 0h14.6L79.5 67.6c-1.5 1.7-1.6 4.3-.1 6.1l34.1 39.7H98.3L66.8 76.6l-1.6-2c-1.5-1.7-1.4-4.4.1-6.1L124.1 0z",
fill: "#17b5cb"
}), /*#__PURE__*/_jsx("path", {
d: "M91.2 73.7c-1-1.1-1.3-2.7-1-4.1.3-.8.8-1.6 1.4-2.2l3.9-4.3 43.5 50.3h-13.8s-25.5-29.8-34-39.7zM15.2 113.4H0l46.6-53.9c1.5-1.7 1.5-4.3 0-6L.4 0H15l46.5 53.9c1.2 1.6 1.4 3.9.1 5.4-12.2 14.1-46.4 54.1-46.4 54.1zM40.6 0h-14l43.1 49.9s.1-.1 4.9-5.8c1.3-1.5 1.6-3.4.1-4.9C65.7 30 40.6 0 40.6 0zM82.6 34.8 112.5 0H98.3L82.7 18.2l-4.5 5.3c-1.5 1.7-1.6 4.3-.1 6.1 1.1 1.3 4.5 5.2 4.5 5.2zM56.6 78.6l-29.9 34.8h14.1l15.6-18.2 4.5-5.3c1.5-1.7 1.6-4.3.1-6.1l-4.4-5.2z",
fill: "#17b5cb"
})]
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 139 113",
xmlSpace: "preserve",
enableBackground: "new 0 0 139 113"
};
/** */
export const ImxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-imx-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
ImxColorful.displayName = 'ImxColorful';