@ant-design/web3-icons
Version:
A collection of Web3 icons.
88 lines • 4.39 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: "146.706",
x2: "150.039",
y1: "3.921",
y2: "365.254",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#f9f091"
}), /*#__PURE__*/_jsx("stop", {
offset: ".1",
stopColor: "#e4c86d"
}), /*#__PURE__*/_jsx("stop", {
offset: ".135",
stopColor: "#ddc370"
}), /*#__PURE__*/_jsx("stop", {
offset: ".2",
stopColor: "#d5be74"
}), /*#__PURE__*/_jsx("stop", {
offset: ".21",
stopColor: "#dbc271"
}), /*#__PURE__*/_jsx("stop", {
offset: ".234",
stopColor: "#e2c76e"
}), /*#__PURE__*/_jsx("stop", {
offset: ".3",
stopColor: "#e4c86d"
}), /*#__PURE__*/_jsx("stop", {
offset: ".4",
stopColor: "#f9f091"
}), /*#__PURE__*/_jsx("stop", {
offset: ".5",
stopColor: "#e3c86d"
}), /*#__PURE__*/_jsx("stop", {
offset: ".6",
stopColor: "#d5be74"
}), /*#__PURE__*/_jsx("stop", {
offset: ".7",
stopColor: "#e3c86d"
}), /*#__PURE__*/_jsx("stop", {
offset: ".8",
stopColor: "#f9f091"
}), /*#__PURE__*/_jsx("stop", {
offset: ".9",
stopColor: "#e3c86d"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#d5be74"
})]
}), /*#__PURE__*/_jsx("path", {
d: "m82.8 167.1-62 60V0h62zm164.4 119.7-82.8-115L289.1 0h-22L20.8 239.4V361h62V186.5l112.7 171.7zM251.8 0h-58.3L86.4 163.8zm-46.3 361H300l-47.3-69.9zM14.8 0H0v361h14.8z",
fill: `url(#${_id})`
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 300 361",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const KbcColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-kbc-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
KbcColorful.displayName = 'KbcColorful';