Primitives
Editor.SelectionBounds
Multi-select bounding rectangle. Auto-mounted in Editor.Canvas.
Multi-select bounding rectangle. Auto-mounted in Editor.Canvas.
Usage
import { Editor } from '@docmosaic/react';
<Editor.Root>
<Editor.SelectionBounds />
</Editor.Root>;API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| sections * | readonly Section[] | - | - |
| selectedIds * | ReadonlySet<string> | - | - |
| finalScale * | number | - | - |
| pageDimensions * | { width: number; height: number; } | - | - |
Related
- Root - the orchestrator