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

Function extraRowCells

src/ui-solid-dom/common/index.tsx:68–79  ·  view source on GitHub ↗
(
  extraRowCells: MaybeAccessor<ExtraRowCell[] | undefined> = [],
  extraRowCellProps: RowProps,
)

Source from the content-addressed store, hash-verified

66export const EDITABLE = 'editable';
67
68export const extraRowCells = (
69 extraRowCells: MaybeAccessor<ExtraRowCell[] | undefined> = [],
70 extraRowCellProps: RowProps,
71) =>
72 arrayMap(getValue(extraRowCells) ?? [], (extraRowCell) => {
73 const Component = extraRowCell.component;
74 return (
75 <td class={EXTRA}>
76 <Component {...extraRowCellProps} />
77 </td>
78 );
79 });
80
81export const extraHeaders = (
82 extraCells: MaybeAccessor<(ExtraRowCell | ExtraValueCell)[] | undefined> = [],

Callers 2

RelationshipInHtmlRowFunction · 0.90
contentFunction · 0.90

Calls 2

arrayMapFunction · 0.90
getValueFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…