@ant-design/web3-icons
Version:
A collection of Web3 icons.
67 lines (66 loc) • 5.18 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.CvxColorful = void 0;
var React = _interopRequireWildcard(require("react"));
var _icons = _interopRequireDefault(require("@ant-design/icons"));
var _antd = require("antd");
var _classnames = _interopRequireDefault(require("classnames"));
var _utils = require("../utils");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
var SVGComponent = function SVGComponent(props) {
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M71.8 28h10v15.1h-10zM43.1 0h10v15.1h-10z",
fill: "#1682fe"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M14.4 14.4h10v15.1h-10z",
fill: "#60d8a4"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 71.8h10.1v43.1H0z",
fill: "#f4bb3b"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 28.7h10.1v43.1H0z",
fill: "#60d8a4"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M86.1 42.4h10v15.1h-10z",
fill: "#1682fe"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M86.1 86.1h10v15.1h-10zM71.8 100.5h10v15.1h-10zM43.1 128.5h10v15.1h-10z",
fill: "#ff5a5a"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M14.4 114.1h10v15.1h-10z",
fill: "#f4bb3b"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M124.2 57.4V28.7h-14.4V14.4H81.1V0H52.4v14.4H23.7v14.4H9.3v86.1h14.4v14.4h28.7v14.4h28.7v-14.4h28.7v-14.4h14.4V86.1H95.5v14.4H81.1v14.4H52.4v-14.4H38.1V43.1h14.4V28.7h28.7v14.4h14.4v14.4h28.6z",
fill: "#3a3a3a"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 124.2 143.6",
xmlSpace: "preserve",
enableBackground: "new 0 0 124.2 143.6"
};
/** */
const CvxColorful = exports.CvxColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-cvx-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
CvxColorful.displayName = 'CvxColorful';