Primitives
Editor.DocumentName
Editable document-name input. Part of Editor.Properties.
Editable document-name input. Part of Editor.Properties.
Usage
import { Editor } from '@docmosaic/react';
<Editor.Root>
<Editor.DocumentName />
</Editor.Root>;API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| asTitle | boolean | undefined | - | Hide the trailing pencil affordance and tighten the input so the name reads as a plain title. Used by the app-shell top bar, where the name sits between a menu glyph and a chevron rather than in a labeled field. Defaults to |
| className | string | undefined | - | Extra classes merged onto the input. |
Related
- Root - the orchestrator