import type { InvitationMember } from "@/lib/db/types" import type { GuestDictionary } from "@/lib/i18n/dictionaries" import type { MealPreference } from "@/lib/validation/response" const mealOptions: MealPreference[] = ["meat", "fish", "vegetarian", "vegan", "kids", "other"] export function RsvpGuestFields({ members, dictionary, disabled, }: { members: InvitationMember[] dictionary: GuestDictionary disabled: boolean }) { return (
{members.map((member, index) => (
{member.name}

0{index + 1}

{member.name}

{dictionary.form.attending}

))}
) }