📅  最后修改于: 2022-03-11 15:03:24.788000             🧑  作者: Mango
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