import MemberListItem from "./MemberListItem"; import { Member } from "@lib/member"; export default function MemberList(props: { members: Member[]; onRemoveMember: (text: Member) => void; onChange: (text: string) => void; }) { const selectAction = (action: string, member: Member) => { switch (action) { case "remove": props.onRemoveMember(member); break; } }; return (