17 lines
493 B
TypeScript
17 lines
493 B
TypeScript
import { cn } from "@/lib/utils";
|
|
|
|
export function ChatHeaderBlock({ children, className }: { children?: React.ReactNode, className?: string }) {
|
|
return (
|
|
<div className={cn("gap-2 flex flex-1", className)}>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export function ChatHeader({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="w-full flex py-5 px-5 bg-linear-to-b from-background to-transparent">
|
|
{children}
|
|
</div>
|
|
)
|
|
} |