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} />
  ))
}
