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

Function extraValueCells

src/ui-react-dom/ValuesInHtmlTable.tsx:17–26  ·  view source on GitHub ↗
(
  extraValueCells: ExtraValueCell[] = [],
  extraValueCellProps: ValueProps,
  after: 0 | 1 = 0,
)

Source from the content-addressed store, hash-verified

15import {extraHeaders, extraKey} from './common/index.tsx';
16
17const extraValueCells = (
18 extraValueCells: ExtraValueCell[] = [],
19 extraValueCellProps: ValueProps,
20 after: 0 | 1 = 0,
21) =>
22 arrayMap(extraValueCells, ({component: Component}, index) => (
23 <td className={EXTRA} key={extraKey(index, after)}>
24 <Component {...extraValueCellProps} />
25 </td>
26 ));
27
28export const ValuesInHtmlTable: typeof ValuesInHtmlTableDecl = ({
29 store,

Callers 1

ValuesInHtmlTableFunction · 0.70

Calls 2

arrayMapFunction · 0.90
extraKeyFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…