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:
@@ -40,6 +40,7 @@ export default function HorizontalPager(props: IProps) {
|
||||
key={page.index}
|
||||
index={page.index}
|
||||
src={page.src}
|
||||
onImageLoad={() => {}}
|
||||
setCurPage={setCurPage}
|
||||
settings={settings}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user