@zoley/react-file-preview 1.1.6 → 1.1.8
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 +3 -4
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
Niubility!
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
Note: Copy cmaps from the dependency package lib folder to the public folder of the project
|
|
7
|
-
|
|
5
|
+
## How to use
|
|
8
6
|
```js
|
|
9
7
|
import {FileViewer,readBuffer} from "@zoley/react-file-preview";
|
|
10
8
|
|
|
@@ -46,4 +44,5 @@ case 'mp4':
|
|
|
46
44
|
```
|
|
47
45
|
|
|
48
46
|
|
|
49
|
-
|
|
47
|
+
#### The following note is only for previewing special fonts in PDF
|
|
48
|
+
Note: Copy cmaps from the dependency package lib folder to the public folder of the project
|