@mocanvas/editor · constant

parentIdValidator

declare const parentIdValidator: Validator<ParentId>

A shape's parent: either the page it sits on or the shape (a frame, a group) that contains it. The union is why this cannot be one idOfType call.

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.