MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / SocialLink

Function SocialLink

src/components/Footer.tsx:75–90  ·  view source on GitHub ↗
({
  href,
  icon: Icon,
  children,
}: {
  href: string
  icon: React.ComponentType<{ className?: string }>
  children: React.ReactNode
})

Source from the content-addressed store, hash-verified

73}
74
75function SocialLink({
76 href,
77 icon: Icon,
78 children,
79}: {
80 href: string
81 icon: React.ComponentType<{ className?: string }>
82 children: React.ReactNode
83}) {
84 return (
85 <Link href={href} target="_blank" rel="noreferrer" className="group">
86 <span className="sr-only">{children}</span>
87 <Icon className="h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:fill-gray-100 dark:group-hover:fill-zinc-500" />
88 </Link>
89 )
90}
91
92function SmallPrint() {
93 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected