import React from "react" import User from "../../api/client_data/User.ts" import ContactsListItem from "./ContactsListItem.tsx" interface Args extends React.HTMLAttributes { contactsList: User[] setContactsList: React.Dispatch> display: boolean openChatFragment: (id: string) => void } export default function ContactsList({ contactsList, setContactsList, display, openChatFragment, ...props }: Args) { return 添加聯絡人 { contactsList.map((v2) => ) } }