... no built-in way to do those things in React, so you will need a ref to the DOM node. For example, clicking the button will focus the input using a ref:.
確定! 回上一頁