interface UserListPopoverProps

Passed to UserListPopover by the button whose count was clicked. The button owns the open state and unmounts the popover in onClose.

Properties

anchorRef: React.RefObject<HTMLElement | null>
onClose: () => void

Called on an outside click, on Escape, and on a scroll outside it.

fetchUrl: string

It answers PaginatedData<PublicUser>, a page at a time, and the popover adds page and limit to its query.

Usage

import { type UserListPopoverProps } from "src/components/social/UserListPopover.tsx";