fix widget params type comments

This commit is contained in:
nflnkr 2024-05-25 15:58:27 +03:00
parent ac0f06ff72
commit 325e2f56b1
4 changed files with 4 additions and 4 deletions

@ -11,7 +11,7 @@ export interface BannerWidgetComponentProps {
*/ */
autoShowWidgetTime?: number; autoShowWidgetTime?: number;
/** /**
* Открыть квиз через X секунд, 0 - сразу * Открыть квиз через X секунд, 0 - сразу, null - не открывать
*/ */
autoShowQuizTime?: number | null; autoShowQuizTime?: number | null;
openOnLeaveAttempt?: boolean; openOnLeaveAttempt?: boolean;

@ -3,7 +3,7 @@ export interface ButtonWidgetComponentProps {
fixedSide?: "left" | "right"; fixedSide?: "left" | "right";
dialogDimensions?: { width: string; height: string; }; dialogDimensions?: { width: string; height: string; };
/** /**
* Открыть квиз через X секунд, 0 - сразу * Открыть квиз через X секунд, 0 - сразу, null - не открывать
*/ */
autoShowQuizTime?: number | null; autoShowQuizTime?: number | null;
hideOnMobile?: boolean; hideOnMobile?: boolean;

@ -2,7 +2,7 @@ export interface PopupWidgetComponentProps {
quizId: string; quizId: string;
dialogDimensions?: { width: string; height: string; }; dialogDimensions?: { width: string; height: string; };
/** /**
* Открыть квиз через X секунд, 0 - сразу * Открыть квиз через X секунд, 0 - сразу, null - не открывать
*/ */
autoShowQuizTime?: number | null; autoShowQuizTime?: number | null;
hideOnMobile?: boolean; hideOnMobile?: boolean;

@ -11,7 +11,7 @@ export interface SideWidgetComponentProps {
*/ */
autoShowWidgetTime?: number; autoShowWidgetTime?: number;
/** /**
* Открыть квиз через X секунд, 0 - сразу * Открыть квиз через X секунд, 0 - сразу, null - не открывать
*/ */
autoShowQuizTime?: number | null; autoShowQuizTime?: number | null;
hideOnMobile?: boolean; hideOnMobile?: boolean;