diff --git a/src/components/Popup/Popup.tsx b/src/components/Popup/Popup.tsx index 8ada3b5ef9..080e255c47 100644 --- a/src/components/Popup/Popup.tsx +++ b/src/components/Popup/Popup.tsx @@ -20,7 +20,11 @@ import './Popup.scss'; export type PopupPlacement = PopperPlacement; export type PopupAnchorRef = PopperAnchorRef; -export interface PopupProps extends DOMProps, LayerExtendableProps, PopperProps, QAProps { +export interface PopupProps + extends DOMProps, + LayerExtendableProps, + Pick, + QAProps { open?: boolean; children?: React.ReactNode; keepMounted?: boolean; @@ -145,7 +149,7 @@ export function Popup({ aria-label={ariaLabel} aria-labelledby={ariaLabelledBy} > - + {/* FIXME The onClick event handler is deprecated and should be removed */} {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */}