mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
14 lines
502 B
TypeScript
14 lines
502 B
TypeScript
import { Bot } from "lucide-react"
|
|
|
|
export default function ToolWindow({ title, children }: { title: string; children: React.ReactNode }) {
|
|
return (
|
|
<div className="border-2 border-purple-500 bg-purple-100 rounded-md overflow-hidden">
|
|
<div className="flex flex-row gap-1 items-center font-bold text-xs bg-purple-200 text-purple-800 p-1">
|
|
<Bot className="w-4 h-4" />
|
|
<span>Tool called: {title}</span>
|
|
</div>
|
|
<div className="p-4">{children}</div>
|
|
</div>
|
|
)
|
|
}
|