interface RoomBesideOptions

Passed to useRoomBeside by PresenceRow, from its own props. Without both selectors, the hook measures nothing and returns null.

Properties

optional
within: string

Selects the ancestor that bounds the row.

optional
beside: string

Selects, inside that ancestor, the element that takes its room first.

Usage

import { type RoomBesideOptions } from "src/hooks/shared/useRoomBeside.ts";