Update usage

This commit is contained in:
Jerome Wu
2023-07-26 00:23:09 +08:00
parent 566593182b
commit 8370ef5937
8 changed files with 729 additions and 720 deletions

View File

@@ -0,0 +1,13 @@
import React from "react";
import { FFmpeg } from "@ffmpeg/ffmpeg";
import { fetchFile, toBlobURL } from "@ffmpeg/util";
// Add react-live imports you need here
const ReactLiveScope = {
React,
...React,
FFmpeg,
fetchFile,
toBlobURL,
};
export default ReactLiveScope;