@ant-design/web3-icons
Version:
A collection of Web3 icons.
71 lines (70 loc) • 5.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.BicoColorful = void 0;
var _react = require("@inline-svg-unique-id/react");
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) {
const _id = (0, _react.useUniqueInlineId)();
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
...props,
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
id: _id,
gradientUnits: "userSpaceOnUse",
x1: "0",
y1: "199.89",
x2: "200",
y2: "-.11",
gradientTransform: "matrix(1 0 0 -1 0 199.89)",
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "0",
stopColor: "#8d3308"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
offset: "1",
stopColor: "#8d3308"
})]
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M0 0h200v200H0z",
fill: `url(#${_id})`
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M10 10h180v180H10z"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M113 49.4c-3.7-2.1-8-3.4-12.5-3.4h-25C82.4 46 88 51.6 88 58.5V96h12.5c4.6 0 8.8-1.2 12.5-3.4 2.8-1.6 5.2-3.7 7.1-6.2 3.4-4.3 5.4-9.6 5.4-15.5 0-9.1-5-17.2-12.5-21.5z",
fill: "#d85111"
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
d: "M120.1 86.5c-2 2.5-4.4 4.6-7.1 6.2-3.7 2.1-8 3.4-12.5 3.4H88V58.5C88 51.6 82.4 46 75.5 46S63 51.6 63 58.5V146h43.7c2.2 0 4.2-.2 6.2-.6 14.3-2.9 25-15.5 25-30.6.1-12.5-7.2-23.3-17.8-28.3z",
fill: "#fff"
})]
});
};
SVGComponent.defaultProps = {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 200 200",
xmlSpace: "preserve",
enableBackground: "new 0 0 200 200"
};
/** */
const BicoColorful = exports.BicoColorful = /*#__PURE__*/React.forwardRef((props, ref) => {
const {
getPrefixCls
} = React.useContext(_antd.ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('web3-icon-bico-colorful');
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.default, {
...props,
className: (0, _classnames.default)(prefixCls, props.className),
ref: ref,
component: (0, _utils.eraseDefaultProps)(SVGComponent)
});
});
BicoColorful.displayName = 'BicoColorful';