focusTarget

focusTarget: string | RefObject<HTMLElement>

Element to receive focus, specified by React.RefObject or CSS selector string. If undefined and moveFocus is true then focus is moved to first focusable element.

Defined in

Last Updated: 11 June, 2024