"use client"; import { IconFileOff } from "@tabler/icons-react"; import type { ReactNode } from "react"; import { FileViewerHeader } from "./file-viewer-header"; import { useTranslation } from "react-i18next"; type FileBinaryViewerProps = { path: string; isSymlink?: boolean; worktreePath?: string; headerActions?: ReactNode; }; export function FileBinaryViewer({ path, isSymlink, worktreePath, headerActions, }: FileBinaryViewerProps) { const { t } = useTranslation(); return (
{t("task:cannotPreviewThisFile")}
{t("task:binaryFile")}
); }