@ant-design/web3-icons
Version:
A collection of Web3 icons.
57 lines • 3.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: "74.8",
y1: "7.2",
x2: "10.8",
y2: "71.2",
gradientTransform: "matrix(1 0 0 -1 0 82)",
children: [/*#__PURE__*/_jsx("stop", {
offset: ".159",
stopColor: "#003CDA"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#33DFCC"
})]
}), /*#__PURE__*/_jsx("path", {
d: "M0 16C0 7.2 7.2 0 16 0h48c8.8 0 16 7.2 16 16v48c0 8.8-7.2 16-16 16H16C7.2 80 0 72.8 0 64V16z",
fill: `url(#${_id})`
}), /*#__PURE__*/_jsx("path", {
d: "M32 0h-8v18.4h8V0zM45.5 56.7H34.9c-6 0-10.9-4.9-10.9-10.9V38h8v7.7c0 1.6 1.3 2.9 2.9 2.9h10.6c1.6 0 2.9-1.3 2.9-2.9V35.2c0-1.6-1.3-2.9-2.9-2.9H0v-8h45.5c6 0 10.9 4.9 10.9 10.9v10.6c0 6-4.9 10.9-10.9 10.9z",
fill: "#FFF"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 80 80",
xmlSpace: "preserve"
};
/** */
export const BzrxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-bzrx-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
BzrxColorful.displayName = 'BzrxColorful';