@mocanvas/mocanvas · constant

DefaultSharePanel

declare const DefaultSharePanel: () => react.JSX.Element | null

The top-right panel: who is here.

The people menu is the whole of it, and that renders nothing when nobody else is here — but the plate around it did not, so a single-player editor had a 10px rounded blob in its top-right corner: a border, a background and eight pixels of padding around no content at all. Nobody could say what it was, which is the point. The plate now goes when its contents do.

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.