// ---------------------------------------------------------------------------
// customer-grid / Stars.tsx
// The DOM star atom for RATING fields (wave-5 item 11) — the cell picker and
// the record drawer render the same mark. Inline SVG vector paths, NEVER an
// emoji glyph (owner constant); the grid CANVAS twin is cells.ts's
// ratingCellRenderer, which draws the same 5-point star as a path.
// ---------------------------------------------------------------------------
export function StarIcon({ on }: { on: boolean }) {
return (
);
}
/** A read-only star row ("3 of 5" as marks). The picker renders its own buttons. */
export function StarRow({ value, max }: { value: number; max: number }) {
return (
{Array.from({ length: max }, (_, i) => (
))}
);
}