DocMosaicdocs
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

PropTypeDefaultDescription
classNamestring | undefined-

Optional extra className applied to the outer container.

maxSizenumber | undefined-

Maximum size for the minimap thumbnail (CSS pixels). The thumbnail preserves the page aspect ratio so the actual dimensions are at most maxSize on the longer axis. Defaults to 72

  • a small peripheral tile rather than a large preview.
  • Root - the orchestrator