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 6c88627
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 also need to 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 6c88627

Please sign in to comment.