@rsuite/icon-font
Version:
All rsuite icon resource file and icon fonts
32 lines (24 loc) • 2.54 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 OkCircle(props, svgRef) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: "1em",
height: "1em",
viewBox: "0 0 32 32",
fill: "currentColor",
ref: svgRef
}, props), /*#__PURE__*/React.createElement("path", {
d: "M16 0C7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16S24.837 0 16 0zm10.713 12.722L13.707 25.73c-.549.551-1.397.571-1.995.117-.055-.041-.119-.064-.171-.117l-7.586-7.589a1.53 1.53 0 010-2.169l1.081-1.081a1.528 1.528 0 012.167 0l5.417 5.417L23.459 9.467a1.534 1.534 0 012.169 0l1.081 1.081c.606.601.606 1.573.005 2.174z"
}));
}
var ForwardRef = /*#__PURE__*/React.forwardRef(OkCircle);
var _default = ForwardRef;
exports["default"] = _default;