MCPcopy
hub / github.com/tinyplex/tinybase / TableInHtmlTable

Function TableInHtmlTable

src/ui-react-dom/TableInHtmlTable.tsx:16–39  ·  view source on GitHub ↗
({
  tableId,
  store,
  editable,
  customCells,
  extraCellsBefore,
  extraCellsAfter,
  ...props
}: TableInHtmlTableProps & HtmlTableProps)

Source from the content-addressed store, hash-verified

14import {EditableCellView} from './EditableCellView.tsx';
15
16export const TableInHtmlTable: typeof TableInHtmlTableDecl = ({
17 tableId,
18 store,
19 editable,
20 customCells,
21 extraCellsBefore,
22 extraCellsAfter,
23 ...props
24}: TableInHtmlTableProps & HtmlTableProps): any => (
25 <HtmlTable
26 {...props}
27 params={useParams(
28 useCells(
29 useTableCellIds(tableId, store),
30 customCells,
31 editable ? EditableCellView : CellView,
32 ),
33 useStoreCellComponentProps(store, tableId),
34 useRowIds(tableId, store),
35 extraCellsBefore,
36 extraCellsAfter,
37 )}
38 />
39);

Callers

nothing calls this directly

Calls 5

useParamsFunction · 0.90
useCellsFunction · 0.90
useTableCellIdsFunction · 0.90
useRowIdsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…