import type RatingIndicator from "./RatingIndicator.js"; import type { Star } from "./RatingIndicator.js"; import Icon from "./Icon.js"; export default function RatingIndicatorTemplate(this: RatingIndicator) { return (
); } function starLi(this: RatingIndicator, star: Star) { if (star.selected) { return (
  • ); } if (star.halfStar) { return (
  • ); } if (this.readonly || this.displayOnly) { return (
  • ); } if (this.disabled) { return (
  • ); } return (
  • ); }