mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-19 04:14:46 +08:00
28 lines
499 B
TypeScript
28 lines
499 B
TypeScript
import { FileIcon } from "lucide-react";
|
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
export function ArtifactFileDetail({
|
|
className,
|
|
filepath,
|
|
}: {
|
|
className?: string;
|
|
filepath: string;
|
|
}) {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
"relative flex size-full items-center justify-center",
|
|
className,
|
|
)}
|
|
>
|
|
<div className="flex size-fit items-center gap-2">
|
|
<div>
|
|
<FileIcon />
|
|
</div>
|
|
<div>{filepath}</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|