mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 23:42:24 +00:00
feat(header): add Header component with RunCode integration
This commit is contained in:
parent
a0b1327db7
commit
89dfc9a1c8
20
src/components/header.tsx
Normal file
20
src/components/header.tsx
Normal file
@ -0,0 +1,20 @@
|
||||
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>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user