Getting Started
Introduction
Installation
Usage
Examples
Documentation
Editor
Shapes
Assets
Tools
Persistence
User Interface
Collaboration
Community
Translations
Contributing
License
API Reference
Close
API Reference
/
@tldraw/tldraw
useCanUndo
Public function
Signature
function
useCanUndo
(
):
boolean
Source
packages/tldraw/src/lib/ui/hooks/useCanUndo.ts
useCanRedo
useContextMenuSchema