Skip to content

Commit

Permalink
Add Preact section to documentation on compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jul 5, 2022
1 parent 6a06664 commit 1c9e00f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ If you use an older version of React, please refer to the table below to a find
| ≥16.3 | 5.x |
| ≥15.5 | 4.x |

#### Preact

React-PDF may be used with Preact. However, if you want to use text layer in PDFs rendered by React-PDF, you'll need to also install `preact-render-to-string` package.

### Installation

Add React-PDF to your project by executing `npm install react-pdf` or `yarn add react-pdf`.
Expand Down

0 comments on commit 1c9e00f

Please sign in to comment.