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: 20 June, 2023