UNPKG

1.02 kBJavaScriptView Raw
1const React = require("react");
2function StarIcon({
3 title,
4 titleId,
5 ...props
6}, svgRef) {
7 return /*#__PURE__*/React.createElement("svg", Object.assign({
8 xmlns: "http://www.w3.org/2000/svg",
9 fill: "none",
10 viewBox: "0 0 24 24",
11 strokeWidth: 1.5,
12 stroke: "currentColor",
13 "aria-hidden": "true",
14 ref: svgRef,
15 "aria-labelledby": titleId
16 }, props), title ? /*#__PURE__*/React.createElement("title", {
17 id: titleId
18 }, title) : null, /*#__PURE__*/React.createElement("path", {
19 strokeLinecap: "round",
20 strokeLinejoin: "round",
21 d: "M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"
22 }));
23}
24const ForwardRef = React.forwardRef(StarIcon);
25module.exports = ForwardRef;
\No newline at end of file