OptionalacceptOptionalcanWhether the Accept button is enabled.
OptionalclassCSS class name for the buttons. Defaults to "tw-h-6 tw-w-6".
OptionallocalizedLocalized strings for button tooltips and aria-labels. Falls back to the key itself if not provided.
Function to call when Accept is clicked.
Function to call when Cancel is clicked.
Optional context-specific label for the accept button (e.g. "Save Comment", "Save Footnote"). When provided, overrides the generic
%acceptButton_tooltip%localized string.