ref.current.focus();. } }, []);. return <input ref={ref} />;. };. export default App;. When using this function component with its useRef ...
確定! 回上一頁