import * as React from "react"; import type { LucideProps } from "lucide-react"; /** * Custom star icon with sharp edges (no curved corners) * Used specifically for the Rating component to match Figma design * * Unlike lucide-react's Star icon which has rounded strokeLinejoin, * this icon uses miter joins for crisp, pointed edges. */ export const StarRating = React.forwardRef( ( { className = "fill-yellow-400 stroke-yellow-400", size = 16, strokeWidth = 1.33, absoluteStrokeWidth = true, ...props }, ref ) => { const computedStrokeWidth = absoluteStrokeWidth ? (Number(strokeWidth) * 24) / Number(size) : strokeWidth; return ( ); } ); StarRating.displayName = "StarRating";