Profile
ProfileReviewsItem
Single review row with avatar, author, date, star rating, and comment.
Profile
Profile components build the restaurant detail pages.
Components
<XRdProfileReviewsItem />
Single review row with avatar, author name, formatted date, star rating icons, and review comment text.
<XRdProfileReviewsItem :review="review" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
review | { id: string; author: string; date: string; rating: number; comment: string; avatar?: string | null } | required | Review object |
AI Context
category: Profile
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdProfileReviewsItem
use-when: >
Rendering a single customer review row with avatar, author, date, star
rating, and comment text on a restaurant profile page.
typical-page-section: Individual review item within the reviews section.
