just the stars plus a numeric score, for app-store rows.
4.8· 231 reviews
Install
From your site folder, run:
jprot add ReviewStarsThat downloads the self-contained component into theme/components/ReviewStars.js,
where it is picked up automatically — the same way as any built-in component.
To remove it later, just delete that file.
Use it as a homepage section
Add an entry to the sections: list in jprot.config.js:
sections: [
{ component: 'ReviewStars', title: 'ReviewStars' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::ReviewStars score="4.8" total="231 reviews"Props
| Prop | Type | Note |
|---|---|---|
score | string | numeric rating |
total | string | review count label |