@@ -7,6 +7,7 @@ type ViewerDataPage = {
|
||||
name: string;
|
||||
backgroundType?: "color" | "gradient" | "image" | "video";
|
||||
backgroundColor?: string;
|
||||
backgroundOpacity?: number;
|
||||
backgroundGradient?: {
|
||||
from: string;
|
||||
to: string;
|
||||
@@ -203,6 +204,7 @@ export function transformViewerDataToPages(data: ViewerData): PageData[] {
|
||||
elements: objects,
|
||||
backgroundType: page.backgroundType,
|
||||
backgroundColor: page.backgroundColor,
|
||||
backgroundOpacity: page.backgroundOpacity,
|
||||
backgroundGradient: page.backgroundGradient,
|
||||
backgroundImageUrl: page.backgroundImageUrl,
|
||||
backgroundVideoUrl: page.backgroundVideoUrl,
|
||||
|
||||
Reference in New Issue
Block a user