UNPKG

@astraicons/react

Version:

A comprehensive icon set designed for websites, applications, social networks, and print media, tailored specifically for UI Astra.

27 lines 1.13 kB
import * as React from "react"; import { forwardRef } from "react"; const StarIcon = ({ title, titleId, ...props }, ref) => /*#__PURE__*/React.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: "currentColor", "aria-hidden": "true", ref: ref, "aria-labelledby": titleId }, props), title ? /*#__PURE__*/React.createElement("title", { id: titleId }, title) : null, /*#__PURE__*/React.createElement("path", { strokeLinecap: "round", d: "M14.493 7.766 13.32 4a1.371 1.371 0 0 0-2.64 0L9.507 7.766c-.186.597-.719 1-1.32 1H4.39c-1.345 0-1.904 1.796-.816 2.62l3.07 2.328c.487.368.69 1.022.505 1.618l-1.173 3.766", opacity: 0.4 }), /*#__PURE__*/React.createElement("path", { strokeLinecap: "round", d: "M14.493 7.766c.185.597.718 1 1.32 1h3.796c1.344 0 1.903 1.796.816 2.62l-3.071 2.328a1.48 1.48 0 0 0-.505 1.618l1.174 3.766c.415 1.334-1.049 2.443-2.137 1.619l-3.07-2.327a1.34 1.34 0 0 0-1.632 0l-3.071 2.327c-1.088.824-2.552-.285-2.136-1.619" })); const ForwardRef = forwardRef(StarIcon); export default ForwardRef;