(scope: Element[], tabbable: boolean = true)
| 558 | } |
| 559 | |
| 560 | function focusFirstInScope(scope: Element[], tabbable: boolean = true) { |
| 561 | focusElement(getFirstInScope(scope, tabbable)); |
| 562 | } |
| 563 | |
| 564 | function useAutoFocus(scopeRef: RefObject<Element[] | null>, autoFocus?: boolean) { |
| 565 | const autoFocusRef = React.useRef(autoFocus); |
no test coverage detected