Skip to main content
Returns what the surface handed the mount: the payload Expand carried in, or the row behind a row action.

Returns

Record<string, unknown>

Remarks

Re-renders when the host hands the mount a new context. A row action reads the row from its own row prop as well; this hook is the same value for a component further down the tree. Throws TAP_OUTSIDE_HOST outside a mount.

Example