mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 05:43:00 +08:00
ConfirmModal: Auto focus delete button (#34917)
This commit is contained in:
@ -76,6 +76,7 @@ export const ConfirmModal = ({
|
||||
variant="destructive"
|
||||
onClick={onConfirm}
|
||||
disabled={disabled}
|
||||
autoFocus
|
||||
aria-label={selectors.pages.ConfirmModal.delete}
|
||||
>
|
||||
{confirmText}
|
||||
|
Reference in New Issue
Block a user