UNPKG

@rsuite/icon-font

Version:

All rsuite icon resource file and icon fonts

34 lines (26 loc) 2.81 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 Coupon(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: "M14 3a2 2 0 012 2v2a1 1 0 000 2v2a2 2 0 01-2 2H2a2 2 0 01-2-2V9a1 1 0 000-2V5a2 2 0 012-2h12zm0 1H2c-.5 0-1 .5-1 1v1.4c.483.2 1 .8 1 1.6s-.517 1.4-1 1.6V11c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V9.6c-.483-.2-1-.8-1-1.6s.517-1.4 1-1.6V5c0-.5-.5-1-1-1z" }), /*#__PURE__*/React.createElement("path", { d: "M11.5 4a.5.5 0 01.5.5v1a.5.5 0 01-1 0v-1a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5.5v1a.5.5 0 01-1 0v-1a.5.5 0 01.5-.5zM11.5 10a.5.5 0 01.5.5v1a.5.5 0 01-1 0v-1a.5.5 0 01.5-.5zM5 6a1 1 0 11-2 0 1 1 0 012 0zM8.146 5.146a.5.5 0 01.707.707l-5 5a.5.5 0 01-.707-.707l5-5zM9 10a1 1 0 11-2 0 1 1 0 012 0z" })); } var ForwardRef = /*#__PURE__*/React.forwardRef(Coupon); var _default = ForwardRef; exports["default"] = _default;