base load viewer
This commit is contained in:
@@ -56,18 +56,18 @@ const BookViewer: FC<BookViewerProps> = ({ pages }) => {
|
||||
/>
|
||||
<HTMLFlipBook
|
||||
ref={bookRef}
|
||||
width={794}
|
||||
height={1123}
|
||||
size="stretch"
|
||||
minWidth={315}
|
||||
minHeight={400}
|
||||
maxWidth={1000}
|
||||
maxHeight={1533}
|
||||
width={397}
|
||||
height={561}
|
||||
size="fixed"
|
||||
minWidth={397}
|
||||
minHeight={561}
|
||||
maxWidth={397}
|
||||
maxHeight={561}
|
||||
drawShadow={true}
|
||||
flippingTime={800}
|
||||
usePortrait={true}
|
||||
usePortrait={false}
|
||||
startPage={0}
|
||||
autoSize={true}
|
||||
autoSize={false}
|
||||
maxShadowOpacity={0.5}
|
||||
showCover={true}
|
||||
mobileScrollSupport={true}
|
||||
@@ -83,9 +83,9 @@ const BookViewer: FC<BookViewerProps> = ({ pages }) => {
|
||||
}}
|
||||
onFlip={handlePageFlip}
|
||||
>
|
||||
{pages.map((page) => (
|
||||
<BookPage key={page.id} page={page} />
|
||||
))}
|
||||
{pages.map((page) => (
|
||||
<BookPage key={page.id} page={page} scale={0.5} />
|
||||
))}
|
||||
</HTMLFlipBook>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user