(element: GridRow)
| 32 | } |
| 33 | |
| 34 | export const useRowContentHeight = (element: GridRow) => { |
| 35 | const store = useRowStore(element) |
| 36 | const state = store.getState() |
| 37 | return [ |
| 38 | state.contentHeight, |
| 39 | (height: number) => { |
| 40 | store.setState({ contentHeight: height }) |
| 41 | }, |
| 42 | ] as const |
| 43 | } |
| 44 | |
| 45 | export const useTableRowContentHeights = (rows: GridRow[]) => { |
| 46 | const refresh = useCallback(() => { |
nothing calls this directly
no test coverage detected
searching dependent graphs…