We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
useAutoFocus
1 parent d3d7817 commit e509e48Copy full SHA for e509e48
packages/fuselage-hooks/src/useAutoFocus.ts
@@ -8,7 +8,6 @@ import { useEffect, useRef } from 'react';
8
* @param options - options of the focus request
9
* @returns the ref which holds the element
10
* @public
11
- * @deprecated in favor of focus provided by react-hook-form or the `autoFocus` attribute
12
*/
13
export const useAutoFocus = <
14
T extends { focus: (options?: FocusOptions) => void },
0 commit comments