forwardRef 用來建立一個新的React component 並將ref 屬性轉交到底下的另外一個component。 而這裡我們透過 export default forwardRef(BaseInput) 將ref 屬性轉交給input ...
確定! 回上一頁