Add a Double Page Viewer (#105)

* add double page reader

* implement singleRTL

* add on image load handler

* add retry display time interval

* remove comments

* add double page wrapper

* fix image getting out of bounds

* remove comments

* remove unused styles

* return imageStyle as type CSSProperties

* rename DoublePagedReader to DoublePagedPager
This commit is contained in:
Manchewable
2021-05-28 05:36:55 -07:00
committed by GitHub
parent 77f2f8cc18
commit 1b122d1157
9 changed files with 373 additions and 28 deletions

View File

@@ -40,6 +40,7 @@ export default function HorizontalPager(props: IProps) {
key={page.index}
index={page.index}
src={page.src}
onImageLoad={() => {}}
setCurPage={setCurPage}
settings={settings}
/>