"use client" import * as React from "react" import { ExxatProductMark } from "@/components/exxat-product-logo" import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar" import { STATUS_BADGE_TONE_CLASS } from "@/components/ui/status-badge" import { Tip } from "@/components/ui/tip" import { useProduct } from "@/contexts/product-context" import { initialsFromDisplayName } from "@/lib/initials-from-name" import { cn } from "@/lib/utils" export interface ExamLockLearnerIdentity { name: string avatar?: string } export interface ExamLockAppHeaderProps { title: string subtitle?: React.ReactNode timer?: React.ReactNode headerToolbar?: React.ReactNode headerActions?: React.ReactNode learner?: ExamLockLearnerIdentity /** Mutes header chrome when the session controller has frozen the attempt. */ sessionPaused?: boolean className?: string } function ExamLockTimer({ children, paused = false, }: { children: React.ReactNode paused?: boolean }) { return (
{subtitle}
) : null}