generateRatingSmilyThree function

dynamic generateRatingSmilyThree(
  1. dynamic borderColor,
  2. dynamic fillColor,
  3. dynamic emojiBorder,
  4. dynamic opacity,
)

Implementation

generateRatingSmilyThree(borderColor,fillColor,emojiBorder,opacity){
  return '<svg width="16" height="16" viewBox="0 0 44 44"><g fill="none" stroke="${emojiBorder}" transform="translate(1 1)" opacity="${opacity}" stroke-width="2.5" ><circle cx="21" cy="21" r="20.125" fill="${fillColor}" /><path stroke="${borderColor}" stroke-linecap="round" stroke-linejoin="round" d="M14.875 13.563a.437.437 0 1 1 0 .874.437.437 0 0 1 0-.874m12.25 0a.437.437 0 1 0 0 .874.437.437 0 0 0 0-.874m-17.5 13.562h22.75"/></g></svg>';
}