({
children,
title,
}: {
children: React.ReactNode
title: string
})
| 1 | export default function Card({ |
| 2 | children, |
| 3 | title, |
| 4 | }: { |
| 5 | children: React.ReactNode |
| 6 | title: string |
| 7 | }) { |
| 8 | return ( |
| 9 | <div className="overflow group rounded-xl border border-white ring-1 ring-zinc-200 transition-all ease-in-out hover:cursor-pointer dark:border-transparent dark:ring-zinc-700"> |
| 10 | <div className="flex h-[9rem] items-center justify-center overflow-hidden rounded-t-xl border-b bg-gray-50 text-xs text-gray-400 transition-all ease-in-out group-hover:bg-gray-100 md:h-[12rem] dark:border-zinc-700 dark:bg-white/5 dark:group-hover:bg-white/10"> |
| 11 | {children} |
| 12 | </div> |
| 13 | <div className="w-full p-4 text-sm font-medium text-gray-800 dark:text-white"> |
| 14 | {title} |
| 15 | </div> |
| 16 | </div> |
| 17 | ) |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected