grediant in a shape
This commit is contained in:
@@ -117,6 +117,7 @@ const BookViewer: FC<BookViewerProps> = ({ pages, catalogSize, documentSettings
|
||||
const displayStyle = documentSettings?.displayStyle ?? 'double';
|
||||
const backgroundType = documentSettings?.backgroundType ?? 'color';
|
||||
const backgroundColor = documentSettings?.backgroundColor ?? '#ffffff';
|
||||
const backgroundGradient = documentSettings?.backgroundGradient;
|
||||
const backgroundImageUrl = documentSettings?.backgroundImageUrl ?? '';
|
||||
|
||||
useEffect(() => {
|
||||
@@ -486,6 +487,7 @@ const BookViewer: FC<BookViewerProps> = ({ pages, catalogSize, documentSettings
|
||||
onLinkClick={handleLinkClick}
|
||||
backgroundType={page.backgroundType ?? backgroundType}
|
||||
backgroundColor={page.backgroundColor ?? backgroundColor}
|
||||
backgroundGradient={page.backgroundGradient ?? backgroundGradient}
|
||||
backgroundImageUrl={page.backgroundImageUrl ?? backgroundImageUrl}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user