minishouyin/node_modules/rc-input-number/es/hooks/useCursor.d.ts
2025-11-12 11:35:57 +08:00

6 lines
245 B
TypeScript

/**
* Keep input cursor in the correct position if possible.
* Is this necessary since we have `formatter` which may mass the content?
*/
export default function useCursor(input: HTMLInputElement, focused: boolean): [() => void, () => void];