"use client";
import type { ReactNode } from "react";
import { Loader2, type LucideIcon } from "lucide-react";
import {
Tooltip,
TooltipContent,
TooltipProvider,
TooltipTrigger,
} from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
type FloatingSidebarShellProps = {
children: ReactNode;
className?: string;
flowBoardControl?: boolean;
};
export function FloatingSidebarShell({
children,
className,
flowBoardControl = false,
}: FloatingSidebarShellProps) {
return (
);
}
type FloatingLogoPillProps = {
siteName: string;
siteLogo?: string | null;
tooltip?: string | null;
onClick?: () => void;
variant?: "pill" | "plain";
};
export function FloatingLogoPill({
siteName,
siteLogo,
tooltip = siteName,
onClick,
variant = "pill",
}: FloatingLogoPillProps) {
const isPlain = variant === "plain";
const trigger = (
);
if (!tooltip) {
return trigger;
}
return (