@ant-design/web3-icons
Version:
A collection of Web3 icons.
112 lines • 7.67 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 _id3 = useUniqueInlineId();
const _id2 = useUniqueInlineId();
const _id = useUniqueInlineId();
return /*#__PURE__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("mask", {
id: _id,
style: {
maskType: "alpha"
},
maskUnits: "userSpaceOnUse",
x: "0",
y: "0",
width: "300",
height: "300",
children: /*#__PURE__*/_jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M0 0h300v300H0V0Z",
fill: "#fff"
})
}), /*#__PURE__*/_jsx("g", {
mask: `url(#${_id})`,
children: /*#__PURE__*/_jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M149.498 0c82.842-.277 150.224 66.655 150.501 149.497.278 82.843-66.654 150.224-149.496 150.502C67.66 300.276.279 233.345.001 150.502-.277 67.66 66.655.278 149.498.001Z",
fill: "#030C17"
})
}), /*#__PURE__*/_jsx("path", {
opacity: ".1",
fillRule: "evenodd",
clipRule: "evenodd",
d: "M243.748 243.122c51.425-51.792 51.166-135.448-.626-186.873-51.792-51.424-135.448-51.166-186.873.627l187.499 186.246Z",
fill: "#fff"
}), /*#__PURE__*/_jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "m231.076 105.316-17.055-17.203-9.283 9.43a10.399 10.399 0 0 1-.11-.11l-7.552 7.625-46.451 47.077-29.396-29.8c-6.078 6.335-10.093 14.661-10.977 23.87l40.373 40.925 45.678-46.303c.589 2.947.884 6.004.884 9.135 0 26.007-21.182 47.188-47.188 47.188-26.007 0-47.188-21.181-47.188-47.188s21.181-47.188 47.188-47.188c10.682 0 20.555 3.573 28.474 9.578l20.224-20.518c-13.188-11.051-30.169-17.756-48.698-17.756-41.81 0-75.847 34.038-75.847 75.847 0 41.847 34.037 75.847 75.847 75.847 41.809 0 75.847-34.037 75.847-75.847a75.539 75.539 0 0 0-7.147-32.121l12.377-12.488Z",
fill: "#fff"
}), /*#__PURE__*/_jsx("mask", {
id: _id2,
style: {
maskType: "alpha"
},
maskUnits: "userSpaceOnUse",
x: "110",
y: "122",
width: "41",
height: "66",
children: /*#__PURE__*/_jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "m110.289 146.205 40.336 40.925h.037v-34.994l-29.396-29.802c-6.078 6.336-10.093 14.624-10.977 23.871Z",
fill: "#fff"
})
}), /*#__PURE__*/_jsx("g", {
mask: `url(#${_id2})`,
children: /*#__PURE__*/_jsx("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "m110.289 146.205 40.336 40.925h.037v-34.994l-29.396-29.802c-6.078 6.336-10.093 14.624-10.977 23.871Z",
fill: `url(#${_id3})`
})
}), /*#__PURE__*/_jsx("defs", {
children: /*#__PURE__*/_jsxs("linearGradient", {
id: _id3,
x1: "90.077",
y1: "151.637",
x2: "132.36",
y2: "166.361",
gradientUnits: "userSpaceOnUse",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#1C313F"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#fff"
})]
})
})]
});
};
SVGComponent.defaultProps = {
viewBox: "0 0 300 300",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
/** */
export const OgvCircleColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ogv-circle-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
OgvCircleColorful.displayName = 'OgvCircleColorful';