From f1e6f9c5f8ab2c9e90e70879c2522f9ecbb2ba9a Mon Sep 17 00:00:00 2001 From: mirrorgo Date: Sun, 1 Sep 2024 12:04:27 +1000 Subject: [PATCH] feat: Add icons to InnerComponent --- app/new-page/components/inner-component.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/app/new-page/components/inner-component.tsx b/app/new-page/components/inner-component.tsx index d9695ba..282da55 100644 --- a/app/new-page/components/inner-component.tsx +++ b/app/new-page/components/inner-component.tsx @@ -1,5 +1,16 @@ +import { GitBranch, X } from "lucide-react"; + function InnerComponent() { - return
InnerComponent
; + return ( +
+
InnerComponent
+ {/* 图标一般就用 https://lucide.dev/icons/*/} +
+ + +
+
+ ); } export default InnerComponent;