@myriaddreamin/typst.react
v0.5.0-rc7
Published
Typst.ts for React
Downloads
333
Readme
@myriaddreamin/typst.react
Usage
import { TypstDocument } from '@myriaddreamin/typst.react';
export const App = (artifact: Uint8Array) => {
return (
<div>
<h1>Demo: Embed Your Typst Document in React</h1>
<TypstDocument fill="#343541" artifact={artifact} />
</div>
);
};
Documentation
See React Library Docs.
Acknowledgement
The project is generated by React-TypeScript-Webpack-Starter