MCPcopy Index your code
hub / github.com/tinyplex/tinybase / Callback

Function Callback

test/unit/core/ui-react/hooks.test.tsx:701–713  ·  view source on GitHub ↗
({
  mode,
  checkpoints,
}: {
  readonly mode: string;
  readonly checkpoints: Checkpoints;
})

Source from the content-addressed store, hash-verified

699};
700
701const Callback = ({
702 mode,
703 checkpoints,
704}: {
705 readonly mode: string;
706 readonly checkpoints: Checkpoints;
707}) => {
708 const goBackward = useGoBackwardCallback(checkpoints);
709 const goForward = useGoForwardCallback(checkpoints);
710 return (
711 <button onClick={mode == 'goBackward' ? goBackward : goForward}>Go</button>
712 );
713};
714
715const CheckpointInfo = ({
716 mode,

Callers

nothing calls this directly

Calls 2

useGoBackwardCallbackFunction · 0.90
useGoForwardCallbackFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…