@mocanvas/editor · interface

EditorPortalProps

interface EditorPortalProps

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 2

children?: ReactNode
container?: HTMLElement | null

Portal somewhere other than the editor's container. Useful for a layer that deliberately escapes the editor, e.g. a modal owned by the host app.

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.