( tableId: Id, storeOrStoreId?: StoreOrStoreId, )
| 694 | ]); |
| 695 | |
| 696 | export const useTableState: typeof useTableStateDecl = ( |
| 697 | tableId: Id, |
| 698 | storeOrStoreId?: StoreOrStoreId, |
| 699 | ): [Table, (table: Table) => void] => [ |
| 700 | useTable(tableId, storeOrStoreId), |
| 701 | useSetTableCallback(tableId, getArg, [], storeOrStoreId), |
| 702 | ]; |
| 703 | |
| 704 | export const useTableCellIds: typeof useTableCellIdsDecl = ( |
| 705 | tableId: Id, |