LinkedRowsProps
LinkedRowsProps
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;
rowComponent?: ComponentType<RowProps>;
getRowComponentProps?: (rowId: Id) => ExtraProps;
separator?: ReactElement | string;
debugIds?: boolean;
}
Type | Description | |
---|---|---|
relationshipId | Id | The |
firstRowId | Id | The |
relationships? | RelationshipsOrRelationshipsId | The |
rowComponent? | ComponentType<RowProps> | A component for rendering each (remote, local, or linked) |
getRowComponentProps? | (rowId: Id) => ExtraProps | A function for generating extra props for each |
separator? | ReactElement | string | A component or string to separate each |
debugIds? | boolean | Whether the component should also render the |
Since
v1.0.0