One way to call a child component's function from its parent is with the help of the useRef hook . Here's the gist of it: We pass a…
確定! 回上一頁