MCPcopy
hub / github.com/tldraw/tldraw / getShape

Function getShape

packages/tldraw/src/lib/shapes/line/LineShapeUtil.test.tsx:42–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40})
41
42const getShape = () => editor.getShape<TLLineShape>(id)!
43const getHandles = () => editor.getShapeHandles<TLLineShape>(id)!
44
45describe('Translating', () => {

Callers 1

Calls 1

getShapeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…