import { TypstDocument } from '@myriaddreamin/typst.react';
export const App = (artifact: string) => {
return (
<div>
<h1>Demo: Embed Your Typst Document in React</h1>
<TypstDocument fill="#343541" artifact={artifact} />
</div>
);
};
The project is generated by React-TypeScript-Webpack-Starter