(item: T, rowProps: RowPropsCallback<T>)
| 133 | } |
| 134 | |
| 135 | function getRowProps<T>(item: T, rowProps: RowPropsCallback<T>) { |
| 136 | if (rowProps) { |
| 137 | if (isFunction(rowProps)) { |
| 138 | return rowProps(item); |
| 139 | } |
| 140 | return rowProps; |
| 141 | } |
| 142 | |
| 143 | return {}; |
| 144 | } |
| 145 | |
| 146 | function getCellProps<T extends object>( |
| 147 | item: T, |
no test coverage detected
searching dependent graphs…