[MM-64617] Add enter key press handler to each of the modals (#3463)
This commit is contained in:
@@ -36,6 +36,7 @@ export default function DestructiveConfirmationModal(props: Props) {
|
||||
modalHeaderText={title}
|
||||
handleCancel={onCancel}
|
||||
handleConfirm={onAccept}
|
||||
handleEnterKeyPress={onAccept}
|
||||
confirmButtonText={acceptLabel}
|
||||
cancelButtonText={cancelLabel}
|
||||
confirmButtonClassName='btn-danger'
|
||||
|
Reference in New Issue
Block a user