import { ComposerPrimitive } from "@assistant-ui/react"; import type React from "react"; import { cn } from "../utils.js"; import type { AgentComposerLayoutVariant } from "./types.js"; export interface AgentComposerFrameProps { children: React.ReactNode; className?: string; rootClassName?: string; style?: React.CSSProperties; rootStyle?: React.CSSProperties; layoutVariant?: AgentComposerLayoutVariant; onClick?: React.MouseEventHandler; } /** * The single visual shell for agent chat composition. * * AssistantChat, PromptComposer, and host surfaces such as Agent-Native Code * all render this same frame so the composer does not drift across products. */ export function AgentComposerFrame({ children, className, rootClassName, style, rootStyle, layoutVariant = "default", onClick, }: AgentComposerFrameProps) { return (
{children}
); }