# `@myriaddreamin/typst.react`

## Usage

```typescript
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](https://myriad-dreamin.github.io/typst.ts/cookery/guide/renderer/react.html).

## Acknowledgement

The project is generated by [React-TypeScript-Webpack-Starter](https://github.com/gopinav/React-TypeScript-Webpack-Starter)
