@ant-design/web3-icons
Version:
A collection of Web3 icons.
55 lines • 5.54 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 _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsxs("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "0",
y1: "27.89",
x2: "53.075",
y2: "27.89",
gradientTransform: "matrix(1 0 0 -1 0 55.89)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#133557"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#0f1c2c"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M48 25c-.2 1.5-1.1 7.6-6 11-4.1 2.9-9.5 3-12 3h-2v-1c.1-1.5.5-6.1 4-10 5.7-6.3 14.3-5.1 15-5h1v2zm-13-4 1-1-1-1-1-1c-1.7-1.6-5.4-5-11-6-1.3-.2-3.4-.6-6 0-2.9.7-5 2.1-6 3l-1 1-1 1 1 1 1 1c1.1 1 3.8 3.6 8 5 1.8.6 4.5 1.6 8 1 4.3-.7 7.2-3.3 8-4zm-17 6c-1.7-.7-4.6-1.6-8-1-4.5.8-7.6 3.7-9 5-.4.4-.8.7-1 1l1 1c4 2.6 7 2.2 8 2 3.4-.6 6.3-3.4 9-6l1-1-1-1zm19-9 1 1c.2-.2.6-.5 1-1 2.6-3.1 2.1-7.2 2-8-.3-2.4-1.4-4.1-2-5-1.4-2.1-3-3.3-4-4l-2-1c-.3.2-.6.5-1 1-2.4 2.9-2 6.8-2 7 .4 3.2 2.6 5.5 7 10zm-9-7v-1s-.1-2.2-1-4c-1-1.9-4.1-3.7-8-4h-1v1c0 .4.4 4.9 4 7 1.5.9 3 1 4 1h2zM9 38c-.9.2-2.5.7-4 2-2.5 2.2-2.9 5.3-3 6-.1.8-.1 1.5 0 2h2c.7-.1 4.6-1 6-4 .9-1.8 1-4.7 1-5v-1H9zm11-8s-5.2 3.9-7 8c-1.6 3.7-1.3 7.1-1 9 .1.7.9 4.6 4 8l1 1h1l1-1c1.3-1.1 3.6-3.4 5-7 .3-.8 1.9-4.9 1-10-.3-1.7-.8-4.5-3-7-.4-.4-.7-.8-1-1h-1zm7 13c.2.5.5 1.2 1 2 .7 1.2 3.6 6 9 7 3 .5 5.5-.3 7-1v-1c0-.4-.2-2-2-4-2.5-2.8-5.7-3.9-6-4-3.6-1.2-6.8-.4-8 0l-1 1zm14-2c1 .8 2.8 1.8 5 2 2.8.2 6.5-.9 7-3 .1-.4.1-.8 0-1-.4-.4-2.7-3.1-6-3-2.7.1-4.9 2-6 3-.4.4-.8.7-1 1l1 1z",
fill: `url(#${_id})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 53.1 56",
xmlSpace: "preserve",
enableBackground: "new 0 0 53.1 56"
};
/** */
export const NknColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-nkn-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
NknColorful.displayName = 'NknColorful';