@rsuite/icon-font
Version:
All rsuite icon resource file and icon fonts
34 lines (26 loc) • 2.64 kB
JavaScript
;
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcard(require("react"));
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
function Shield(props, svgRef) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: "1em",
height: "1em",
viewBox: "0 0 16 16",
fill: "currentColor",
ref: svgRef
}, props), /*#__PURE__*/React.createElement("path", {
d: "M2.927 10.618C4.09 12.909 5.766 14.34 8 14.966c2.234-.626 3.91-2.057 5.073-4.348.551-1.726.575-4.661.037-8.752l-5.109-.852-5.109.852c-.538 4.091-.515 7.026.037 8.752zM2 1l6-1 6 1c.667 4.667.667 8 0 10-1.333 2.667-3.333 4.333-6 5-2.667-.667-4.667-2.333-6-5-.667-2-.667-5.333 0-10z"
}), /*#__PURE__*/React.createElement("path", {
d: "M4.571 4.995a.5.5 0 01-.142-.99l3.5-.5h.141l3.5.5a.5.5 0 11-.142.99l-3.429-.49-3.429.49z"
}));
}
var ForwardRef = /*#__PURE__*/React.forwardRef(Shield);
var _default = ForwardRef;
exports["default"] = _default;