/* Copyright 2026 Marimo. All rights reserved. */ import type React from "react"; import { forwardRef } from "react"; import { Tooltip } from "@/components/ui/tooltip"; import { cn } from "@/utils/cn"; type FooterItemProps = { selected: boolean; tooltip: React.ReactNode; } & React.HTMLAttributes; export const FooterItem: React.FC = forwardRef< HTMLDivElement, FooterItemProps >(({ children, tooltip, selected, className, ...rest }, ref) => { const content = (
{children}
); if (tooltip) { return ( {content} ); } return content; }); FooterItem.displayName = "FooterItem";