@ant-design/web3-icons
Version:
A collection of Web3 icons.
80 lines • 5.33 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__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsx("mask", {
id: _id,
x: ".61",
y: "0",
width: "12.78",
height: "12.79",
maskUnits: "userSpaceOnUse",
children: /*#__PURE__*/_jsx("path", {
d: "M.61 0h12.78v12.79H.61V0z",
fill: "#fff",
fillRule: "evenodd"
})
}), /*#__PURE__*/_jsx("mask", {
id: _id2,
x: "0",
y: "11.89",
width: "18.61",
height: "19.13",
maskUnits: "userSpaceOnUse",
children: /*#__PURE__*/_jsx("path", {
d: "M0 11.89h18.61v19.13H0V11.89z",
fill: "#fff",
fillRule: "evenodd"
})
})]
}), /*#__PURE__*/_jsx("g", {
mask: `url(#${_id})`,
children: /*#__PURE__*/_jsx("path", {
d: "M1.1 12.3a1.67 1.67 0 0 1 0-2.37L10.52.49a1.7 1.7 0 0 1 2.38 0 1.7 1.7 0 0 1 0 2.38L3.47 12.3a1.67 1.67 0 0 1-2.37 0",
fillRule: "evenodd",
fill: "#242328"
})
}), /*#__PURE__*/_jsx("g", {
mask: `url(#${_id2})`,
children: /*#__PURE__*/_jsx("path", {
d: "M18.12 18.71a1.68 1.68 0 0 1 0 2.38L8.7 30.52a1.68 1.68 0 1 1-2.38-2.37l9.43-9.44a1.68 1.68 0 0 1 2.37 0m-17.63 2a1.7 1.7 0 0 1 0-2.38l6-6a1.67 1.67 0 0 1 2.37 0 1.7 1.7 0 0 1 0 2.38l-6 6a1.68 1.68 0 0 1-2.37 0",
fillRule: "evenodd",
fill: "#242328"
})
}), /*#__PURE__*/_jsx("path", {
d: "M18.73 10.29a1.68 1.68 0 0 1 0 2.37l-6 6a1.68 1.68 0 1 1-2.37-2.38l6-6a1.67 1.67 0 0 1 2.37 0",
fillRule: "evenodd",
fill: "#a573ff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 19.22 31.02"
};
/** */
export const SuterColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-suter-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
SuterColorful.displayName = 'SuterColorful';