react-file-base64 with react 17 code example Example: install react file base64 npm install react-file-base64