volleyball-dev-frontend/node_modules/@headlessui/react/dist/hooks/use-refocusable-input.d.ts
Marc Wieland 33181acf83
Some checks are pending
Deploy Volleyball CMS / deploy (push) Waiting to run
Last
2025-06-02 18:56:22 +02:00

8 lines
342 B
TypeScript

/**
* The `useRefocusableInput` hook exposes a function to re-focus the input element.
*
* This hook will also keep the cursor position into account to make sure the
* cursor is placed at the correct position as-if we didn't loose focus at all.
*/
export declare function useRefocusableInput(input: HTMLInputElement | null): () => void;