mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-19 20:34:45 +08:00
refactor: refine folder structure and rename
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import type { ChatStatus } from "ai";
|
||||
import { LightbulbIcon, LightbulbOffIcon } from "lucide-react";
|
||||
import { useCallback, type ComponentProps } from "react";
|
||||
|
||||
import {
|
||||
PromptInput,
|
||||
PromptInputBody,
|
||||
PromptInputButton,
|
||||
PromptInputFooter,
|
||||
PromptInputSubmit,
|
||||
PromptInputTextarea,
|
||||
@@ -11,6 +13,8 @@ import {
|
||||
} from "@/components/ai-elements/prompt-input";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
import { Tooltip } from "./tooltip";
|
||||
|
||||
export function InputBox({
|
||||
className,
|
||||
autoFocus,
|
||||
@@ -57,7 +61,13 @@ export function InputBox({
|
||||
/>
|
||||
</PromptInputBody>
|
||||
<PromptInputFooter className="flex">
|
||||
<div></div>
|
||||
<div>
|
||||
<Tooltip content="">
|
||||
<PromptInputButton>
|
||||
<LightbulbOffIcon className="size-4" />
|
||||
</PromptInputButton>
|
||||
</Tooltip>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
<PromptInputSubmit
|
||||
className="rounded-full"
|
||||
|
||||
Reference in New Issue
Block a user