import { forwardRef, type ButtonHTMLAttributes, type ReactNode } from "react"; import { ChevronsUpDownIcon } from "lucide-react"; import { Avatar, AvatarFallback } from "./avatar"; import { cn } from "../lib/cn"; export const SETTINGS_SWITCHER_CLASS = "w-full border-brand/25 bg-brand-strong/10 py-2 hover:border-brand/40 hover:bg-brand-strong/15"; export const ScopeSwitcherTrigger = forwardRef< HTMLButtonElement, Omit, "children"> & { label: string; /** A second, quieter line under the label: the organization a workspace belongs to. */ meta?: string | undefined; icon: ReactNode; badge?: ReactNode | undefined; compact?: boolean | undefined; } >(function ScopeSwitcherTrigger( { label, meta, icon, badge, compact = false, className, ...props }, ref, ) { return ( ); });