"use client"; import { Primitive } from "../../utils/Primitive"; import { type ComponentRef, forwardRef, type ComponentPropsWithoutRef, } from "react"; type PrimitiveDivProps = ComponentPropsWithoutRef; export namespace ChainOfThoughtPrimitiveRoot { export type Element = ComponentRef; export type Props = PrimitiveDivProps; } /** * The root container for chain of thought components. * * This component provides a wrapper for chain of thought content, * including reasoning and tool-call parts that can be collapsed in an accordion. * * @example * ```tsx * * * Toggle reasoning * * * * ``` */ export const ChainOfThoughtPrimitiveRoot = forwardRef< ChainOfThoughtPrimitiveRoot.Element, ChainOfThoughtPrimitiveRoot.Props >((props, ref) => { return ; }); ChainOfThoughtPrimitiveRoot.displayName = "ChainOfThoughtPrimitive.Root";