Booking requests land in one inbox with their unread dots. The newest slides open into its fields and a reply pill, then the list comes back.
The import and the props worth knowing about, in one place.
import { Form53 } from "@/components/beste/piece/form53";
<Form53
title="Inbox"
form="Booking request"
count="2 new"
submissions={[
{
"name": "Norah Jones",
"avatar": "https://images.unsplash.com/photo-1605993439219-9d09d2020fa5?q=80&w=400&h=400&auto=format&fit=crop",
"subject": "A facial for two on Saturday?",
"time": "9:41",
"unread": true
},
{
"name": "Thom Yorke",
"avatar": "https://images.unsplash.com/photo-1656337789708-cdf37b07112d?q=80&w=400&h=400&auto=format&fit=crop",
"subject": "Gift card for my sister",
"time": "8:12",
"unread": true
},
{
"name": "Esperanza Spalding",
"avatar": "https://images.unsplash.com/photo-1621983266286-09645be8fd01?q=80&w=400&h=400&auto=format&fit=crop",
"subject": "Do you open on Mondays?",
"time": "Tue"
},
{
"name": "Nils Frahm",
"avatar": "https://images.unsplash.com/photo-1618673747378-7e0d3561371a?q=80&w=400&h=400&auto=format&fit=crop",
"subject": "Moving my appointment",
"time": "Mon"
}
]}
fields={[
{
"label": "Name",
"value": "Norah Jones"
},
{
"label": "Email",
"value": "[email protected]"
},
{
"label": "Treatment",
"value": "Signature facial, 2 people"
},
{
"label": "Message",
"value": "Could we come in together on Saturday morning? Any time before noon works."
}
]}
replyLabel="Reply"
framed={true}
/>