Skip to content

useCanvasContext

useCanvasContext() reads the local canvas context provided by CanvasRoot.

Use it inside descendants like CanvasSurface or your own custom canvas children.

Released under the MIT License.