UNPKG

@rsuite/icon-font

Version:

All rsuite icon resource file and icon fonts

32 lines (24 loc) 2.8 kB
"use strict"; 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 Pin(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: "M11.389.373l4.243 4.243a.999.999 0 010 1.414l-.707.707a.999.999 0 01-1.414 0l-.404-.404-2.425 3.232.512 1.535a.999.999 0 01-.242 1.023l-.977.977-3.182-3.183L3.9 12.811c-1.371 1.371-2.175 1.939-2.411 1.703s.332-1.039 1.703-2.411L6.085 9.21 2.903 6.029l.977-.977a1.001 1.001 0 011.023-.242l1.535.512L9.67 2.897l-.404-.404a.999.999 0 010-1.414l.707-.707a.999.999 0 011.414 0zm-.708.707l-.707.707.404.404a1 1 0 01-.107 1.507L7.039 6.123a.999.999 0 01-.916.149L4.588 5.76l-.27.27 5.657 5.657.27-.27-.512-1.535a.999.999 0 01.149-.916l2.425-3.232a1 1 0 011.507-.107l.404.404.707-.707-4.243-4.243z" })); } var ForwardRef = /*#__PURE__*/React.forwardRef(Pin); var _default = ForwardRef; exports["default"] = _default;