Skip to content

Commit be11234

Browse files
committed
feat: 重构ToGitHub组件,迁移至新文件并保持功能不变
1 parent 4caae59 commit be11234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import { Github } from 'lucide-react';
3+
import { FaGithub } from "react-icons/fa";
44
import { Card, Cards } from 'fumadocs-ui/components/card';
55

66
export function ToGitHub({ repo }: { repo: string }) {
@@ -11,7 +11,7 @@ export function ToGitHub({ repo }: { repo: string }) {
1111
style={{ maxWidth: '100%' }}
1212
href={`https://github.com/${repo}`}
1313
title={`${repo} - GitHub`}
14-
icon={<Github />}
14+
icon={<FaGithub />}
1515
external
1616
/>
1717
</Cards>

0 commit comments

Comments
 (0)