pl-fe: a11y: some messy code to restore focus after closing menu modal
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -5,6 +5,8 @@ import { FormattedMessage } from 'react-intl';
|
||||
import type { BaseModalProps } from 'pl-fe/features/ui/components/modal-root';
|
||||
|
||||
interface DropdownMenuModalProps {
|
||||
/** The element initiating opening the modal. */
|
||||
element?: HTMLElement;
|
||||
content?: JSX.Element;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user