@mocanvas/mocanvas · function
declare function useTldrawUiComponents(): TLUiComponentsThe UI chrome map.
A slot is undefined when nothing has filled it and null when it has been
removed; both mean "render nothing", which is why callers write
{Comp ? <Comp /> : null} rather than branching on the two separately.
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.