Skip to content

Commit 6c88627

Browse files
committed
Add Preact section to documentation on compatibility
1 parent 6a06664 commit 6c88627

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ If you use an older version of React, please refer to the table below to a find
6060
| ≥16.3 | 5.x |
6161
| ≥15.5 | 4.x |
6262

63+
#### Preact
64+
65+
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.
66+
6367
### Installation
6468

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

0 commit comments

Comments
 (0)