OnedocLabs / react-print-pdf

Build and generate PDF using React 📄 UI kit for PDFs and print documents. Simple, reusable components and templates to create great invoices, docs, brochures. Use your favorite front-end framework React to build your next PDF.
https://docs.fileforge.com/react-print/welcome/getting-started
Apache License 2.0
2.31k stars 87 forks source link

Wrong type for Markdown children #51

Open homj opened 2 months ago

homj commented 2 months ago

When using the Markdown Component, my tests fail with this error:

This JSX tag's 'children' prop expects type 'string' which requires multiple children, but only a single child was provided.

55                     <Markdown options={markdownOptions}>{description}</Markdown>