export interface ButtonWidgetComponentProps { quizId: string; fixedSide?: "left" | "right"; dialogDimensions?: { width: string; height: string; }; /** * Открыть квиз через X секунд, 0 - сразу */ autoShowQuizTime?: number | null; hideOnMobile?: boolean; openOnLeaveAttempt?: boolean; buttonFlash?: boolean; withShadow?: boolean; rounded?: boolean; buttonText?: string; buttonTextColor?: string; buttonBackgroundColor?: string; } export type ButtonWidgetParams = Omit & { selector: string; /** * In seconds, null - polling disabled */ selectorPollingTimeLimit?: number | null; }; export type ButtonWidgetFixedParams = Omit & { fixedSide: "left" | "right"; };