Matterway
    Preparing search index...

    Interface ShowNoticeOptions

    Options for showing a notice bubble.

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

    Properties

    title?: ReactNode

    The title of the notice bubble.

    description?: ReactNode

    The description of the notice bubble.

    icon?: string

    The icon of the notice bubble.

    iconColor?: string

    The color of the icon in the notice bubble.

    subtitle?: ReactNode

    The subtitle of the notice bubble.

    text: ReactNode

    The text content of the notice bubble.

    buttons?: ButtonListItemProps[]

    The buttons to be displayed in the notice bubble.

    statuses?: Status[]

    The statuses of the notice bubble.

    game?: NoticeGame

    The game to be displayed in the notice bubble.

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

    The UI configuration for the game in the notice bubble.

    gameScore?: ClickerGameScoreProps

    The score of the game in the notice bubble.

    forcePosition?: Position

    Force the position of the bubble.

    isDraggable?: boolean

    If true, the bubble will be draggable. Default true