@ant-design/web3-icons
Version:
A collection of Web3 icons.
54 lines • 3.05 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: "-321.725",
y1: "644.281",
x2: "-320.725",
y2: "644.281",
gradientTransform: "matrix(253.26 0 0 -290.5 81479.977 187309)",
children: [/*#__PURE__*/_jsx("stop", {
offset: "0",
stopColor: "#0CF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#3F9"
})]
}), /*#__PURE__*/_jsx("path", {
d: "m0 290.5 202.8-85.4-64.2-65.1L0 290.5zM74.5 75l64.2 65L253.3 0 74.5 75z",
fill: `url(#${_id})`
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 253.3 290.5",
xmlSpace: "preserve"
};
/** */
export const RuneColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-rune-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
RuneColorful.displayName = 'RuneColorful';