UNPKG

@rsuite/icon-font

Version:

All rsuite icon resource file and icon fonts

32 lines (24 loc) 2.69 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 StarHalfO(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: "M21.179 17.089l4.589-4.464-7.536-1.107-.536-1.071-2.839-5.75v17.196l1.054.554 5.679 3-1.071-6.339-.214-1.179zm8.071-4.678l-6.482 6.321 1.536 8.929c.125.786-.161 1.25-.714 1.25-.196 0-.446-.071-.714-.214l-8.018-4.214-8.018 4.214c-.268.143-.518.214-.714.214-.554 0-.839-.464-.714-1.25l1.536-8.929-6.5-6.321c-.768-.768-.518-1.518.554-1.679l8.964-1.304 4.018-8.125c.232-.482.554-.732.875-.732.321 0 .625.25.875.732l4.018 8.125 8.964 1.304c1.071.161 1.321.911.536 1.679z" })); } var ForwardRef = /*#__PURE__*/React.forwardRef(StarHalfO); var _default = ForwardRef; exports["default"] = _default;