@rsuite/icon-font
Version:
All rsuite icon resource file and icon fonts
32 lines (24 loc) • 3.43 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 Refresh2(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: "M31.479 19.335a.308.308 0 01-.023.144c-.889 3.723-2.75 6.738-5.586 9.047-2.83 2.313-6.151 3.47-9.954 3.47-2.027 0-3.991-.382-5.886-1.143a15.858 15.858 0 01-5.072-3.273L2.27 30.27c-.263.263-.576.391-.937.391s-.674-.128-.937-.391a1.29 1.29 0 01-.395-.939v-9.333c0-.359.133-.67.395-.937.265-.263.576-.395.937-.395h9.333c.359 0 .674.133.939.395.263.263.395.578.395.937 0 .361-.135.674-.395.939l-2.857 2.857c.985.914 2.103 1.623 3.355 2.123s2.551.75 3.897.75a10.53 10.53 0 005.207-1.353 10.51 10.51 0 003.877-3.728c.153-.235.519-1.047 1.102-2.439.112-.318.318-.478.629-.478h3.998a.63.63 0 01.469.201c.13.128.197.281.199.464zM32 2.67V12c0 .361-.133.674-.395.939a1.282 1.282 0 01-.937.395h-9.335c-.361 0-.674-.133-.937-.395a1.273 1.273 0 01-.393-.939c.002-.359.135-.672.395-.937l2.875-2.875c-2.055-1.902-4.48-2.855-7.271-2.855a10.52 10.52 0 00-5.209 1.353 10.6 10.6 0 00-3.87 3.728c-.151.235-.519 1.049-1.104 2.437-.11.32-.318.48-.626.48H1.047a.631.631 0 01-.466-.199.612.612 0 01-.201-.464v-.146c.903-3.721 2.779-6.736 5.625-9.049C8.851 1.162 12.181.006 16.003.006c2.025 0 3.998.386 5.915 1.159a16.164 16.164 0 015.104 3.257l2.706-2.686c.263-.263.576-.398.939-.398.361 0 .672.133.937.398.261.261.393.574.395.935z"
}));
}
var ForwardRef = /*#__PURE__*/React.forwardRef(Refresh2);
var _default = ForwardRef;
exports["default"] = _default;