Update README.md

main
NB 4 years ago
parent ac151f7a9e
commit 73f2b9d98b
  1. 8
      README.md

@ -96,9 +96,9 @@ You can see also Types for React-Epub-Viewer [here](https://github.com/altmshfkg
### EpubViewer Props
- `ref` [RefObject] Viewer Ref
- `ref` - [RefObject] Viewer Ref
- `url` [string] - Epub file path
- `url` - [string] - Epub file path
- `epubFileOptions` - [[object](http://epubjs.org/documentation/0.3/#book)] Epub file option (Epub.js BookOption)
- `epubOptions` - [[object](http://epubjs.org/documentation/0.3/#rendition)] Epub viewer option (Epub.js RenditionOption)
- `style` - [object] Epub wrapper style
@ -114,9 +114,9 @@ You can see also Types for React-Epub-Viewer [here](https://github.com/altmshfkg
### ReactEpubViewer Props
- `ref` [RefObject] Viewer Ref
- `ref` - [RefObject] Viewer Ref
- `url` [string] - Epub file path
- `url` - [string] Epub file path
- `viewerLayout` - [object] Viewer layout values (header height, footer height, etc...)
- `viewerOption` - [object] Viewer option (whether is flow or is spread)
- `onBookInfoChange` - [function] Run when book information changed

Loading…
Cancel
Save