一般的React Component 是不會取得ref 的屬性,需要被React. ... useRef(null); // App mounted 的時候讓AwesomeInput 中的input 元素focus React.
確定! 回上一頁