TinyBase logoTinyBase β

LocalRowsViewProps

LocalRowsViewProps props are used for components that refer to a single Relationship in a Relationships object, and where you want to render local Rows based on a remote Row, such as the LocalRowsView component.

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

The Id of the Relationship in the Relationships object.

remoteRowIdId

The Id of the remote Row for which to render the local Rows.

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