Add @mantine/hooks dependency and update PlaygroundChat component

This commit is contained in:
n4ze3m
2024-02-25 21:17:27 +05:30
parent 86d4d53693
commit 094615498c
13 changed files with 99 additions and 40 deletions

View File

@@ -1,19 +1,12 @@
import { useWebSearch } from "~store/web"
import {
Globe,
MousePointer,
Boxes
} from "lucide-react"
import { Globe } from "lucide-react"
export const WebSearch = () => {
const { state, text } = useWebSearch()
return (
<div className="gradient-border mt-4 flex w-56 items-center gap-4 rounded-lg bg-neutral-100 p-1ccc text-slate-900 dark:bg-neutral-800 dark:text-slate-50">
<div className="rounded p-1">
<Globe className="w-6 h-6" />
</div>
<div className="text-sm font-semibold">{text}</div>
<div className="text-sm font-semibold">Searching the web</div>
</div>
)
}