MCPcopy
hub / github.com/nukeop/nuclear / TopBar

Function TopBar

packages/ui/src/components/TopBar.tsx:11–23  ·  view source on GitHub ↗
({ children, className = '' })

Source from the content-addressed store, hash-verified

9};
10
11export const TopBar: FC<TopBarProps> = ({ children, className = '' }) => {
12 return (
13 <header
14 className={cn(
15 'bg-background-secondary border-border grid h-12 grid-cols-[1fr_4fr_1fr] items-center gap-2 border-b-(length:--border-width) px-3 select-none',
16 className,
17 )}
18 data-tauri-drag-region
19 >
20 {children}
21 </header>
22 );
23};

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected