Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

IconLink.tsx

19 lines367 Bytes

1export function IconLink({
2 icon,
3 href,
4 label,
5}: {
6 icon: string
7 href: string
8 label: string
9}) {
10 return (
11 <a
12 href={href}
13 className="text-slate-500 text-xs uppercase font-bold text-center"
14 >
15 <img src={icon} aria-hidden className="inline-block h-8 rounded-full" />
16 <span className="block mt-2">{label}</span>
17 </a>
18 )