import { Maximize2, Pin, PinOff, X } from 'lucide-react'; import type { TFunction } from 'i18next'; import { IS_LINUX } from '../../utils/platform'; interface Props { trackTitle: string | undefined; alwaysOnTop: boolean; toggleOnTop: () => void; showMain: () => void; closeMini: () => void; t: TFunction; } export function MiniTitlebar({ trackTitle, alwaysOnTop, toggleOnTop, showMain, closeMini, t, }: Props) { return (