@rsuite/icon-font
Version:
All rsuite icon resource file and icon fonts
32 lines (24 loc) • 3.41 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 Link(props, svgRef) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: "1em",
height: "1em",
viewBox: "0 0 30 32",
fill: "currentColor",
ref: svgRef
}, props), /*#__PURE__*/React.createElement("path", {
d: "M26 21.714c0-.464-.179-.893-.5-1.214l-3.714-3.714a1.733 1.733 0 00-1.214-.5c-.518 0-.929.196-1.286.571.589.589 1.286 1.089 1.286 2 0 .946-.768 1.714-1.714 1.714-.911 0-1.411-.696-2-1.286-.375.357-.589.768-.589 1.304 0 .446.179.893.5 1.214l3.679 3.696c.321.321.768.482 1.214.482s.893-.161 1.214-.464l2.625-2.607c.321-.321.5-.75.5-1.196zM13.446 9.125c0-.446-.179-.893-.5-1.214L9.267 4.215c-.321-.321-.768-.5-1.214-.5s-.893.179-1.214.482L4.214 6.804a1.702 1.702 0 000 2.41l3.714 3.714c.321.321.768.482 1.214.482.518 0 .929-.179 1.286-.554-.589-.589-1.286-1.089-1.286-2 0-.946.768-1.714 1.714-1.714.911 0 1.411.696 2 1.286.375-.357.589-.768.589-1.304zm15.983 12.589a5.11 5.11 0 01-1.518 3.625l-2.625 2.607a5.106 5.106 0 01-3.625 1.482 5.077 5.077 0 01-3.643-1.518l-3.679-3.696a5.106 5.106 0 01-1.482-3.625c0-1.411.571-2.75 1.571-3.732l-1.571-1.571a5.187 5.187 0 01-3.714 1.571 5.165 5.165 0 01-3.643-1.5l-3.714-3.714A5.09 5.09 0 01.286 8a5.11 5.11 0 011.518-3.625l2.625-2.607A5.106 5.106 0 018.054.286c1.375 0 2.679.536 3.643 1.518L15.376 5.5a5.106 5.106 0 011.482 3.625c0 1.411-.571 2.75-1.571 3.732l1.571 1.571a5.187 5.187 0 013.714-1.571c1.357 0 2.679.536 3.643 1.5l3.714 3.714a5.09 5.09 0 011.5 3.643z"
}));
}
var ForwardRef = /*#__PURE__*/React.forwardRef(Link);
var _default = ForwardRef;
exports["default"] = _default;