MCPcopy Create free account
hub / github.com/editablejs/editable / useTableStore

Function useTableStore

packages/plugins/table/src/context.ts:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16export { TableContext }
17
18export const useTableStore = () => {
19 const context = React.useContext(TableContext)
20 if (!context) throw new Error('TableContext not found')
21 return useStore(context)
22}
23
24export const useTableSize = () => {
25 const context = React.useContext(TableContext)

Callers 2

TableRowHeaderDefaultFunction · 0.90
TableColHeaderDefaultFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…