(scope: Element[], tabbable: boolean = true)
| 574 | } |
| 575 | |
| 576 | function focusFirstInScope(scope: Element[], tabbable: boolean = true) { |
| 577 | focusElement(getFirstInScope(scope, tabbable)); |
| 578 | } |
| 579 | |
| 580 | function useAutoFocus(scopeRef: RefObject<Element[] | null>, autoFocus?: boolean) { |
| 581 | const autoFocusRef = React.useRef(autoFocus); |
no test coverage detected