From a50a4d9c41c6ddcc4d629345fa00c3fe4e92ae8e Mon Sep 17 00:00:00 2001 From: "yongen.loong" Date: Mon, 2 Sep 2024 00:12:39 +0800 Subject: [PATCH] feat: add file tooltip --- components/workspace/new-file.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/workspace/new-file.tsx b/components/workspace/new-file.tsx index 5d87578..1cc49cc 100644 --- a/components/workspace/new-file.tsx +++ b/components/workspace/new-file.tsx @@ -13,6 +13,7 @@ import { import { useState } from "react"; import { FilePlus } from "lucide-react"; import { NewFileForm } from "./new-file-form"; +import { Tooltip } from "../tooltip"; export default function NewFile() { const [isOpen, setIsOpen] = useState(false); @@ -20,9 +21,11 @@ export default function NewFile() { return ( setIsOpen(open)}> - + + +