Skip to content

Interface: ShowMessageOptions

Defined in: src/message/showMessage.tsx:15

Options for showing a message.

Extended by

Properties

PropertyTypeDescriptionDefined in
title?ReactNodeTitle shown in the header.src/message/showMessage.tsx:17
description?ReactNodeDescription shown under the title.src/message/showMessage.tsx:20
textReactNodeMarkdown text or ReactNode shown in the content area.src/message/showMessage.tsx:23
buttons?MessageBubbleButtonProps[]Buttons that resolve the message. Defaults to a single "Proceed" button with value ok.src/message/showMessage.tsx:26
overlay?booleanIf true, obscure the page behind the message and block interaction.src/message/showMessage.tsx:29
overlayProps?{ blur?: boolean; blurIntensity?: number; background?: "white" | "grey"; }Props passed to the overlay component.src/message/showMessage.tsx:32
overlayProps.blur?booleanApply a blur effect to the obscured contentsrc/message/components/MessageBubble.tsx:28
overlayProps.blurIntensity?numberCustom blur intensity (in pixels)src/message/components/MessageBubble.tsx:30
overlayProps.background?"white" | "grey"Background color of the overlaysrc/message/components/MessageBubble.tsx:32
forcePosition?PositionForce the position of the bubble.src/message/showMessage.tsx:35
isDraggable?booleanIf true, the bubble is draggable. Defaults to true.src/message/showMessage.tsx:38

Matterway Assistant SDK Documentation