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

Function useGrid

packages/editor/src/hooks/use-grid.ts:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4export const GridContext = React.createContext<Grid | null>(null)
5
6export const useGrid = (): Grid | null => {
7 return React.useContext(GridContext)
8}

Callers 3

useGridSelectedFunction · 0.90
useGridSelectionFunction · 0.90
useGridSelectionRectFunction · 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…