@guruhotel/aura-icons
Version:
🎨 Icon library designed by the Guruhotel team for Aura UI
40 lines (39 loc) • 2.87 kB
JavaScript
;
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireWildcard(require("react"));
var _accessibleIcon = require("../accessible-icon");
var _styles = require("../styles");
var _jsxRuntime = require("react/jsx-runtime");
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && 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; }
const StyledStarSolid = ({
label,
color = "#000000",
className = "",
css = {},
viewBox = "0 0 24 24"
}, ref) => {
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_accessibleIcon.AccessibleIcon, {
label: label,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledSvg, {
className: className,
css: css,
viewBox: viewBox,
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
ref: ref,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledPath, {
css: {
fill: `${color}`
},
d: "M16.2288 6.83225L22.7593 7.79569C23.3001 7.87295 23.7546 8.25469 23.9273 8.77732C24.1 9.30449 23.9591 9.8771 23.5683 10.2679L18.8328 14.9125L19.9508 21.5748C20.0417 22.1201 19.819 22.6746 19.3646 22.9972C18.9146 23.3199 18.3193 23.3608 17.833 23.1018L11.9978 19.9887L6.16718 23.1018C5.67637 23.3608 5.08104 23.3199 4.63113 22.9972C4.18122 22.6746 3.95399 22.1201 4.04942 21.5748L5.16738 14.9125L0.431053 10.2679C0.0397671 9.8771 -0.0992962 9.30449 0.0724877 8.77732C0.243817 8.25469 0.696909 7.87295 1.2418 7.79569L7.76686 6.83225L10.6936 0.818434C10.9344 0.317806 11.4434 0 11.9978 0C12.5568 0 13.0658 0.317806 13.3067 0.818434L16.2288 6.83225Z"
})
})
});
};
const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledStarSolid);
const StarSolid = /*#__PURE__*/(0, _react.memo)(ForwardRef);
var _default = StarSolid;
exports.default = _default;
module.exports = exports.default;