OptionalalignTooltip placement alignment. Defaults to 'start'.
Position and size of the invisible anchor, in the coordinates of the nearest position: relative ancestor. Typically the bounding rect of the element the hint should point at (e.g. a
verse marker), recomputed by the caller as it moves/scrolls.
Localized/display label for the key that confirms the action on a second press (e.g. "Backspace").
Localized message to display. Include a {key} placeholder where the confirming key belongs.
Whether the confirmation hint is currently showing.
OptionalshowWhether to render the pointer arrow. Defaults to true.
OptionalsideTooltip placement side. Defaults to 'bottom'.
Only 'top'/'bottom' are supported — the bordered arrow this component renders relies on
clip-path/translate math in tooltip.tsx that has only been worked out for those two sides;
the equivalent math for 'left'/'right' was tried and found visibly broken (see
tooltip.tsx), so those two values are omitted from this component's public API rather than
silently degrading to a borderless arrow.
Props for DestructiveKeyConfirmation.