Function: AmnesiaShortcuts()
AmnesiaShortcuts(
props):null
Defined in: shortcuts.tsx:95
Mounts an Undo / Redo keyboard handler.
Bindings:
- Undo:
Ctrl+Z/Cmd+Z - Redo:
Ctrl+Shift+Z/Cmd+Shift+Z/Ctrl+Y
Render exactly one <AmnesiaShortcuts /> per provider for app-wide
routing. Render multiple, each with a scopeId and a different target,
to pin chords to specific surfaces.
Parameters
| Parameter | Type |
|---|---|
props | AmnesiaShortcutsProps |
Returns
null