@ant-design/web3-icons
Version:
A collection of Web3 icons.
41 lines • 2.96 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__*/_jsxs("svg", {
...props,
children: [/*#__PURE__*/_jsx("path", {
d: "m178 183.1-42 24.5-42-24.5V134l42-24.6 42 24.6z",
fill: "#00b5d1"
}), /*#__PURE__*/_jsx("path", {
d: "M136.5 0 0 79.3v158.4L136.5 317 273 237.7V79.3L136.5 0zM70 196.9v-77.2l66-38.5 66 38.5v77.2l-66 38.5-66-38.5zm0 44.5v-26.8l89.3 52.2-22.8 13.3L70 241.4zm171-22.1L174.5 258l-23.6-13.8 66.2-38.7v-94.4l-81-47.3-81 47.3V232.7l-23-13.4V97.7L136.6 37 241 97.7v121.6z",
fill: "#0d285a"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 273 317",
xmlSpace: "preserve",
enableBackground: "new 0 0 273 317"
};
/** */
export const RampColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-ramp-colorful');
return /*#__PURE__*/_jsx(AntdIcon, {
...props,
className: classnames(prefixCls, props.className),
ref: ref,
component: eraseDefaultProps(SVGComponent)
});
});
RampColorful.displayName = 'RampColorful';