(style: Style)
| 103 | } |
| 104 | |
| 105 | function convertStyle(style: Style): CSSProperties { |
| 106 | // eslint-disable-next-line @typescript-eslint/ban-ts-comment |
| 107 | // @ts-ignore |
| 108 | return R.reduce<[string, StyleProperty?], any>( |
| 109 | (res, [key, value]) => { |
| 110 | if (converter.has(key)) { |
| 111 | res[converter.get(key) as string] = value; |
| 112 | } |
| 113 | return res; |
| 114 | }, |
| 115 | {}, |
| 116 | R.toPairs(style) |
| 117 | ); |
| 118 | } |
| 119 | |
| 120 | export const derivedRelevantCellStyles = memoizeOneFactory( |
| 121 | (cell: Style, dataCell: Style, cells: Cells, dataCells: DataCells) => |
no test coverage detected
searching dependent graphs…