Files
web/components/Current/Aside/Contacts/index.tsx
2024-02-13 13:28:30 +01:00

9 lines
284 B
TypeScript

import type { ContactsProps } from "@/types/components/current/asides/contact"
import Contact from "./Contact"
export default function Contacts({ contacts }: ContactsProps) {
return contacts.map((contact) => (
<Contact key={contact.node.system.uid} {...contact.node} />
))
}