Update usage
This commit is contained in:
13
apps/website/src/theme/ReactLiveScope/index.js
Normal file
13
apps/website/src/theme/ReactLiveScope/index.js
Normal 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;
|
||||
Reference in New Issue
Block a user