amis-rpc-design/node_modules/rc-input-number/lib/hooks/useCursor.d.ts

6 lines
245 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
/**
* 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];