@mocanvas/editor · type

TLBaseBoxShape

type TLBaseBoxShape = UnknownShape & {
    props: {
        w: number;
        h: number;
    };
}

A shape with w and h props: the shape resizeBox knows how to resize.

Mentioned here

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.