RenderInterrupt

Unpublished development API. This package is under development and is not available as a published release.

Draws one pending interrupt. Return null to show nothing for it.

import type { RenderInterrupt } from '@threadplane/react/chat';

Declaration

export type RenderInterrupt = (interrupt: AgentInterrupt, respond: InterruptResponder) => ReactNode;