import { inferQueryOutput } from "@calcom/trpc/react"; import MemberListItem from "./MemberListItem"; interface Props { team: inferQueryOutput<"viewer.teams.get">; members: inferQueryOutput<"viewer.teams.get">["members"]; } export default function MemberList(props: Props) { if (!props.members.length) return <>>; return (