import type { ReactNode } from 'react'; export interface NavBarProps { brand: ReactNode; /** The link row — replaced by the consumer's toggle below 48rem. */ children?: ReactNode; /** The trailing control, e.g. a quiet lit button. */ actions?: ReactNode; className?: string; } export function NavBar({ brand, children, actions, className }: NavBarProps) { return (
{brand} {children !== undefined && } {actions !== undefined && {actions}}
); }