📜  react-file-base64 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:11.799000             🧑  作者: Mango

代码示例1
import FileBase64 from "react-file-base64";
// FileBase64 <- use as component



// onDone return an object of: filename, fileType, base64 data
// use the setState or function of useState to grap the base64 data