Skip to content

@pgege/kaboo-react


Function: DrillProvider()

DrillProvider(__namedParameters): Element

Defined in: context/DrillContext.tsx:34

Provides drill-down navigation state (DrillState) to the activity components below it. Included automatically by KabooProvider; only mount it yourself if you compose the providers by hand.

Parameters

__namedParameters

children

ReactNode

Returns

Element

Example

import { DrillProvider, GlassTabs, DrillDetailView } from "@pgege/kaboo-react";

function Panel() {
  return (
    <DrillProvider>
      <GlassTabs />
      <DrillDetailView />
    </DrillProvider>
  );
}