diff --git a/src/webchat-ui/components/presentational/TeaserMessage.tsx b/src/webchat-ui/components/presentational/TeaserMessage.tsx index 9d2f139c..e2428372 100644 --- a/src/webchat-ui/components/presentational/TeaserMessage.tsx +++ b/src/webchat-ui/components/presentational/TeaserMessage.tsx @@ -10,6 +10,7 @@ import { WebchatUIProps } from "../WebchatUI"; import { IWebchatConfig } from "../../../common/interfaces/webchat-config"; import { ISendMessageOptions } from "../../../webchat/store/messages/message-middleware"; import { useMediaQuery } from "react-responsive"; +import { Logo } from "./Header"; const TeaserMessageRoot = styled.div(() => ({ position: "fixed", @@ -62,6 +63,10 @@ const ButtonContainer = styled.div(() => ({ }, })); +const HeaderLogo = styled(Logo)(() => ({ + marginInline: 0, +})); + interface ITeaserMessageProps { messageText: string; onClick: () => void; @@ -114,7 +119,15 @@ export const TeaserMessage = (props: ITeaserMessageProps) => { aria-live="polite" > - + {config?.settings?.layout?.logoUrl ? ( + + ) : ( + + )}