@mocanvas/mocanvas · function

PageItemInput

declare function PageItemInput({ id, name, onCancel }: PageItemInputProps): react.JSX.Element

The rename field on a page row.

Commits on Enter or blur and reverts on Escape, both through TldrawUiInput — renaming a page is one undo entry, not one per keystroke.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.