Call the Ref parameter forwardedRef and pass it to the button component const StyledButton = React.forwardRef((props, forwardedRef) => { return ( <button ...
確定! 回上一頁