TinyBase logoTinyBase β

CurrentCheckpointViewProps

CurrentCheckpointViewProps props are used for components that refer to the current checkpoint in a Checkpoints object, such as the CurrentCheckpointView component.

{
  checkpoints?: CheckpointsOrCheckpointsId;
  debugIds?: boolean;
  checkpoint?: Snippet<[checkpointId: Id]>;
}
TypeDescription
checkpoints?CheckpointsOrCheckpointsId

The Checkpoints object to be accessed: omit for the default context Checkpoints object, provide an Id for a named context Checkpoints object, or provide an explicit reference.

debugIds?boolean

Whether the component should also render the Id of the current checkpoint to assist with debugging.

checkpoint?Snippet<[checkpointId: Id]>

A snippet for rendering the current checkpoint in the Checkpoints object.

Since

v8.1.0