Primitives
Editor.Ruler
Tick-mark rulers along the top and left edges of the canvas.
Tick-mark rulers along the top and left edges of the canvas.
Usage
import { Editor } from '@docmosaic/react';
<Editor.Root>
<Editor.Ruler />
</Editor.Root>;API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | undefined | - | Optional extra className applied to the outer container. |
| unit | enum | - | Override the display unit. Falls back to |
Related
- Root - the orchestrator