MCPcopy Create free account
hub / github.com/code100x/chess / Card

Function Card

packages/ui/src/card.tsx:1–25  ·  view source on GitHub ↗
({
  className,
  title,
  children,
  href,
}: {
  className?: string;
  title: string;
  children: React.ReactNode;
  href: string;
})

Source from the content-addressed store, hash-verified

1export function Card({
2 className,
3 title,
4 children,
5 href,
6}: {
7 className?: string;
8 title: string;
9 children: React.ReactNode;
10 href: string;
11}): JSX.Element {
12 return (
13 <a
14 className={className}
15 href={`${href}?utm_source=create-turbo&utm_medium=basic&utm_campaign=create-turbo"`}
16 rel="noopener noreferrer"
17 target="_blank"
18 >
19 <h2>
20 {title} <span>-&gt;</span>
21 </h2>
22 <p>{children}</p>
23 </a>
24 );
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected