Type alias PostMessageAction
PostMessageAction: { action?: "updateHeight"; height: number; type: "updateHeight"; } | { action?: "focus"; focusOn: "firstElement" | "lastElement"; type: "focus"; } | { action?: never; hook: HookData; type: "hook"; } Type declaration
Optional
action?: "updateHeight"
height: number
type: "updateHeight"
Type declaration
Optional
action?: "focus"
focusOn: "firstElement" | "lastElement"
type: "focus"
Type declaration
Optional
action?: never
type: "hook"