Interface ShowNoticeOptions

Options for showing a notice bubble.

interface ShowNoticeOptions {
    buttons?: ButtonListItemProps[];
    description?: ReactNode;
    forcePosition?: Position;
    game?: NoticeGame;
    gameScore?: ClickerGameScoreProps;
    gameUI?: Omit<Omit<ClickerGameProps, "resolve">, "notice">;
    icon?: string;
    iconColor?: string;
    isDraggable?: boolean;
    statuses?: Status[];
    subtitle?: ReactNode;
    text: ReactNode;
    title?: ReactNode;
}

Properties

buttons?: ButtonListItemProps[]

The buttons to be displayed in the notice bubble.

description?: ReactNode

The description of the notice bubble.

forcePosition?: Position

Force the position of the bubble.

game?: NoticeGame

The game to be displayed in the notice bubble.

gameScore?: ClickerGameScoreProps

The score of the game in the notice bubble.

gameUI?: Omit<Omit<ClickerGameProps, "resolve">, "notice">

The UI configuration for the game in the notice bubble.

icon?: string

The icon of the notice bubble.

iconColor?: string

The color of the icon in the notice bubble.

isDraggable?: boolean

If true, the bubble will be draggable. Default true

statuses?: Status[]

The statuses of the notice bubble.

subtitle?: ReactNode

The subtitle of the notice bubble.

text: ReactNode

The text content of the notice bubble.

title?: ReactNode

The title of the notice bubble.