open file input on button click. We used the useRef hook to get access to the file input element. App.js. Copied! <input ref={inputRef} style={{display: ...
確定! 回上一頁