@myriaddreamin/typst.react

0.5.0-rc3 • Public • Published

Typst.react

Usage

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>
  );
};

Acknowledgement

The project is generated by React-TypeScript-Webpack-Starter

Readme

Keywords

Package Sidebar

Install

npm i @myriaddreamin/typst.react

Weekly Downloads

13

Version

0.5.0-rc3

License

Apache-2.0

Unpacked Size

109 kB

Total Files

11

Last publish

Collaborators

  • myriaddreamin