pdf-tsx 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,6 +16,16 @@ npm install react react-dom pdfjs-dist
16
16
 
17
17
  ---
18
18
 
19
+ ## CSS
20
+
21
+ Import the stylesheet once in your app entry point:
22
+
23
+ ```ts
24
+ import 'pdf-tsx/dist/es/pdf-tsx.css'
25
+ ```
26
+
27
+ ---
28
+
19
29
  ## Quick start
20
30
 
21
31
  `PDFViewer` requires a `workerSrc` prop — the URL of the pdfjs worker script. The easiest way is to serve it from the `pdfjs-dist` package directly: