Put the source, the number, the stars, and the caption.
review-score.tsx
TestimonialScore
<div>TestimonialScoreSource
<p>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <p> attributes | — | Every other attribute goes to the <p>, with a ref. |
TestimonialScoreValue
<p>| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | — | The score: 4.9, 2380, 97. |
| max | number | — | The top of the scale ("/ 5"). Leave it out for a count. |
| format | NumberFormatOptions | — | The Intl.NumberFormat options: { style: "percent" } takes 0.97 for "97%". |
| ...props | <p> attributes | — | Every other attribute goes to the <p>, with a ref. |
TestimonialScoreCaption
<p>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <p> attributes | — | Every other attribute goes to the <p>, with a ref. |
Built with
Installs with Testimonial Score
- Components
- Testimonial









