mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
feat: better exchange rate tool ux
This commit is contained in:
13
components/agents/agent-window.tsx
Normal file
13
components/agents/agent-window.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Bot } from "lucide-react"
|
||||
|
||||
export default function AgentWindow({ 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>Agent called: {title}</span>
|
||||
</div>
|
||||
<div className="p-4">{children}</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user