'use client' import * as React from 'react' import { cn } from '../../utils/cn' import { CompassIcon } from '../icons-v2-generated/map-and-travel/compass-icon' import { QuestionCircleIcon } from '../icons-v2-generated/signs-and-symbols/question-circle-icon' import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from '../ui/tooltip' const DEFAULT_LABEL = 'Guide Mode Chat' const DEFAULT_TOOLTIP = 'A quick session chat for exploring OpenFrame. Mingo answers how-to ' + 'questions and guides you through configuration, but won’t touch devices, ' + 'run scripts, or perform any actions.' export interface GuideModeBannerProps { /** Banner label (uppercased by the `text-h5` style). */ label?: React.ReactNode /** Help-icon tooltip copy. `null` hides the help icon entirely. */ tooltip?: React.ReactNode | null className?: string } /** * Guide-mode indicator banner — Figma node `7532:328222`. A full-bleed accent * (yellow) strip below the chat header: leading compass icon, the "Guide Mode * Chat" label, and a trailing help icon whose tooltip explains the temporary, * read-only nature of Guide mode. */ export function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, className, }: GuideModeBannerProps) { return (

{label}

{tooltip != null && ( {tooltip} )}
) }