textInput.current.focus(); } render() { return ( //pass the created textInput ... We can pass a value when initializing createRef or useRef, ...
確定! 回上一頁