Primitives
Editor.Minimap
Bottom-right thumbnail with a viewport rectangle that pans the canvas.
Bottom-right thumbnail with a viewport rectangle that pans the canvas.
Usage
import { Editor } from '@docmosaic/react';
<Editor.Root>
<Editor.Minimap />
</Editor.Root>;API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | undefined | - | Optional extra className applied to the outer container. |
| maxSize | number | undefined | - | Maximum size for the minimap thumbnail (CSS pixels). The thumbnail preserves the page aspect ratio so the actual dimensions are at most
|
Related
- Root - the orchestrator