'use client'

import Link from 'next/link'

type TabProps = {
  name: string
  href: string
}

export default function Tab({ name, href }: TabProps) {
  return (
    <a href={href} className="px-4 py-2 text-sm hover:underline">
      {name}
    </a>
  )
}
