@mocanvas/editor · constant

tlenvReactive

declare const tlenvReactive: Atom<TLReactiveEnvironment>

Environment facts that change during a session. An atom, so a component can useValue(tlenvReactive) and re-render when the person picks up a pen.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.