Skip to content

@pgege/kaboo-react


Function: InterruptBridgeProvider()

InterruptBridgeProvider(__namedParameters): Element

Defined in: context/InterruptBridge.tsx:64

Holds the set of currently open interrupts so any tool row can claim and render its own gate inline (see useInterruptFor). Included automatically by KabooProvider.

Parameters

__namedParameters

children

ReactNode

Returns

Element

Example

import { InterruptBridgeProvider } from "@pgege/kaboo-react";

function Providers({ children }: { children: React.ReactNode }) {
  return <InterruptBridgeProvider>{children}</InterruptBridgeProvider>;
}