Profile
ProfileHours
Card listing opening hours keyed by day of week.
Profile
Profile components build the restaurant detail pages.
Components
<XRdProfileHours />
Operating hours card. Iterates over restaurant.hours (an object keyed by day name) and renders open/close times.
<XRdProfileHours :restaurant="restaurant" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
restaurant | Restaurant | required | Restaurant with hours object (e.g. { monday: '9am–10pm' }) |
AI Context
category: Profile
package: "@xenterprises/nuxt-x-restaurants"
components:
- XRdProfileHours
use-when: >
Displaying a restaurant's operating hours in a card, iterating over
a day-keyed hours object.
typical-page-section: Hours section on the restaurant profile page.
