mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
21 lines
353 B
TypeScript
21 lines
353 B
TypeScript
|
import { cn } from "@/lib/utils";
|
||
|
import RunCode from "./run-code";
|
||
|
|
||
|
interface HeaderProps {
|
||
|
className?: string;
|
||
|
}
|
||
|
|
||
|
export function Header({
|
||
|
className,
|
||
|
...props
|
||
|
}: HeaderProps) {
|
||
|
return (
|
||
|
<header
|
||
|
{...props}
|
||
|
className={cn("h-12 flex flex-none items-center justify-center", className)}
|
||
|
>
|
||
|
<RunCode />
|
||
|
</header>
|
||
|
);
|
||
|
}
|