Skip to content

Commit

Permalink
feat: Add icons to InnerComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirrorgo committed Sep 1, 2024
1 parent f9c8643 commit f1e6f9c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion app/new-page/components/inner-component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
import { GitBranch, X } from "lucide-react";

function InnerComponent() {
return <div>InnerComponent</div>;
return (
<div>
<div>InnerComponent</div>
{/* 图标一般就用 https://lucide.dev/icons/*/}
<div className="flex w-2/3 justify-between">
<X />
<GitBranch />
</div>
</div>
);
}

export default InnerComponent;

0 comments on commit f1e6f9c

Please sign in to comment.