@ant-design/web3-icons
Version:
A collection of Web3 icons.
46 lines • 3.18 kB
JavaScript
// 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) {
return /*#__PURE__*/_jsx("svg", {
...props,
children: /*#__PURE__*/_jsxs("g", {
fill: "none",
fillRule: "evenodd",
children: [/*#__PURE__*/_jsx("circle", {
cx: "16",
cy: "16",
fill: "#ffc04e",
r: "16"
}), /*#__PURE__*/_jsx("path", {
d: "M15.598 11.857h.003l-.03.13-.26 1.227h-.03L13.568 20.5h-2.179l1.747-7.286h-2.932L8.558 20.5H6.162l2.178-9h7.333zm4.141-.357h3.63c3.123.143 2.832 2.214 2.832 2.214H27l-.29.857h-.727c-.217.786-1.67 1.215-1.67 1.215 1.67.214 1.598 1.5 1.598 1.5h.799l-.218.857h-.654c-.167 1.19-1.222 1.768-2.089 2.043a5.35 5.35 0 0 1-1.62.243H17.56zM7.323 13.214H5l.436-1.714h2.323zm9.948 6.286-1.888-4.429.799-3.428 1.887 4.214zm5.554-4.429c.26 0 .51-.1.693-.282s.287-.426.287-.682c0-.256-.103-.501-.287-.682s-.433-.282-.693-.282H21.41l-.435 1.928zm-.489 3.715c.651 0 1.179-.496 1.179-1.107 0-.612-.525-1.108-1.179-1.108h-1.702l-.524 2.215z",
fill: "#fff",
fillRule: "nonzero"
})]
})
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 32 32",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const TnbCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-tnb-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
TnbCircleColorful.displayName = 'TnbCircleColorful';