TinyBase logoTinyBase β

LinkedRowsViewProps

LinkedRowsViewProps props are used for components that refer to a single Relationship in a Relationships object, and where you want to render a linked list of Rows starting from a first Row, such as the LinkedRowsView component.

{
  relationshipId: Id;
  firstRowId: Id;
  relationships?: RelationshipsOrRelationshipsId;
  separator?: Snippet<[]>;
  debugIds?: boolean;
  row?: Snippet<[rowId: Id]>;
}
TypeDescription
relationshipIdId

The Id of the Relationship in the Relationships object.

firstRowIdId

The Id of the first Row in the linked list Relationship.

relationships?RelationshipsOrRelationshipsId

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

separator?Snippet<[]>

A component or string to separate each rendered Row.

debugIds?boolean

Whether the component should also render the Id of the Row in the Relationship, and its descendent objects, to assist with debugging.

row?Snippet<[rowId: Id]>

A snippet for rendering each (remote, local, or linked) Row in the Relationship.

Since

v8.1.0