MCPcopy
hub / github.com/srcbookdev/srcbook / useCells

Function useCells

packages/components/src/components/use-cell.tsx:283–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281};
282
283export const useCells = (): CellsContextType => {
284 const context = useContext(CellsContext);
285 if (context === undefined) {
286 throw new Error('useCells must be used within a CellsProvider');
287 }
288 return context;
289};

Callers 8

PackageJsonProviderFunction · 0.90
GenerateAiCellFunction · 0.90
ControlledCodeCellFunction · 0.90
SessionMenuPanelSettingsFunction · 0.90
SessionFunction · 0.90
CellOutputFunction · 0.85
CodeEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected