A tiny React renderer to generate PDF documents.
npm install react-pdfkitreact-pdf
> React renderer for creating PDF files
> This project was created to show some concepts on a talk, and it's purely experimental.
> Now using the new React Fiber API!
``jsx
import React from 'react';
import ReactPDF from '../';
import lorem from './lorem';
let doc =
~ Lorem ipsum ~
{lorem}
ReactPDF.render(doc, './examples/example.pdf');
`
`bashClone the repo
git clone https://github.com/diegomura/react-pdf
cd react-pdf
Check out for the
example.pdf` file created on the root of the project