( extraRowCells: MaybeAccessor<ExtraRowCell[] | undefined> = [], extraRowCellProps: RowProps, )
| 66 | export const EDITABLE = 'editable'; |
| 67 | |
| 68 | export 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 | |
| 81 | export const extraHeaders = ( |
| 82 | extraCells: MaybeAccessor<(ExtraRowCell | ExtraValueCell)[] | undefined> = [], |
no test coverage detected
searching dependent graphs…