"use client" import { Tip } from "./tip" import { Toggle } from "./toggle" import { cn } from "../../lib/utils" /** Parent must use this class so a non-favorited star reveals on row/cell hover. */ export const FAVORITE_HOVER_GROUP = "group/favcell" /** * Row-shape-agnostic favorite star toggle — one implementation shared by * every table that has a `favoriteFilter` name/title column. */ export function FavoriteToggleButton({ isFavorite, onToggle, label, stopPropagation = true, }: { isFavorite: boolean onToggle: () => void /** Item name folded into the accessible label ("Remove