Profile
ProfileReviews
Reviews section with rating distribution bar chart and customer review list.
Profile
Profile components build the restaurant detail pages.
Components
<XRdProfileReviews />
Full reviews section. Displays a rating distribution bar chart (1–5 stars) and a list of XRdProfileReviewsItem components from restaurant.reviews.
<XRdProfileReviews :restaurant="restaurant" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
restaurant | Restaurant | required | Restaurant with reviews: Review[] array |
AI Context
category: Profile
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdProfileReviews
use-when: >
Rendering the full reviews section on a restaurant profile page with
rating distribution bar chart and customer review list.
typical-page-section: Reviews section on the restaurant reviews sub-page.
