"use client"; import * as React from "react"; import { cn } from "./lib/utils"; export interface NavItem { label: string; href: string; active?: boolean; } export interface NavbarProps extends React.HTMLAttributes { brand?: string; items?: NavItem[]; action?: React.ReactNode; className?: string; } export function Navbar({ brand = "BIGBULL", items = [ { label: "EVENTS", href: "#", active: true }, { label: "STUBS", href: "#" }, { label: "VENUES", href: "#" }, ], action, className, ...props }: NavbarProps) { return (
{/* Brand */}
B {brand}
{/* Nav Links */} {/* Right Action */} {action ? (
{action}
) : (
ADMIT ONE
)}
); }