()
| 16 | export { TableContext } |
| 17 | |
| 18 | export const useTableStore = () => { |
| 19 | const context = React.useContext(TableContext) |
| 20 | if (!context) throw new Error('TableContext not found') |
| 21 | return useStore(context) |
| 22 | } |
| 23 | |
| 24 | export const useTableSize = () => { |
| 25 | const context = React.useContext(TableContext) |
no outgoing calls
no test coverage detected
searching dependent graphs…