(state: TableState<T>, rowKey: Key)
| 45 | } |
| 46 | |
| 47 | export function getRowLabelledBy<T>(state: TableState<T>, rowKey: Key): string { |
| 48 | // A row is labelled by it's row headers. |
| 49 | return [...state.collection.rowHeaderColumnKeys] |
| 50 | .map(columnKey => getCellId(state, rowKey, columnKey)) |
| 51 | .join(' '); |
| 52 | } |
no test coverage detected