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

Function content

src/ui-solid/RemoteRowView.tsx:27–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 resolvedRelationships,
26 );
27 const content = () => {
28 const Row = props.rowComponent ?? RowView;
29 const [_relationshipsValue, store, , remoteTableId] =
30 getRelationshipsStoreTableIds(
31 getValue(resolvedRelationships),
32 props.relationshipId,
33 );
34 const remoteRowId = getValue(rowId) as Id | undefined;
35 return wrap(
36 isUndefined(remoteTableId) || isUndefined(remoteRowId) ? null : (
37 <Row
38 {...getProps(props.getRowComponentProps, remoteRowId as Id)}
39 tableId={remoteTableId}
40 rowId={remoteRowId}
41 store={store}
42 debugIds={props.debugIds}
43 />
44 ),
45 undefined,
46 props.debugIds,
47 props.localRowId,
48 );
49 };
50 return <>{content()}</>;
51};

Callers 1

RemoteRowViewFunction · 0.70

Calls 5

getValueFunction · 0.90
wrapFunction · 0.90
isUndefinedFunction · 0.90
getPropsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…