( customCellIds: Ids | undefined, tableId: Id, rowId: Id, store?: StoreOrStoreId, )
| 3 | import {useCellIds} from '../hooks.ts'; |
| 4 | |
| 5 | export const useCustomOrDefaultCellIds = ( |
| 6 | customCellIds: Ids | undefined, |
| 7 | tableId: Id, |
| 8 | rowId: Id, |
| 9 | store?: StoreOrStoreId, |
| 10 | ): Ids => { |
| 11 | const defaultCellIds = useCellIds(tableId, rowId, store); |
| 12 | return customCellIds ?? defaultCellIds; |
| 13 | }; |
no test coverage detected
searching dependent graphs…