OptionalcanOptionalcanWhether the Undo button is enabled.
OptionalclassCSS class name for the buttons. Defaults to "tw-h-6 tw-w-6".
OptionallocalizedLocalized strings for button tooltips. Falls back to the key itself if not provided.
OptionalonFunction to call when Redo is clicked. If undefined, the Redo button is not rendered.
Function to call when Undo is clicked.
OptionalshowWhether to show OS-specific keyboard shortcut hints in the tooltips. Defaults to true. If
being used with an Editorial component, wrap it in EditorKeyboardShortcuts to make the
shortcuts functional.
OptionalvariantVariant for the buttons. Defaults to "ghost".
Whether the Redo button is enabled.