import { tr } from '../lib/i18n'; import { IconBtn, Seg } from './ui'; export function PreviewControls({ zoom, onZoom, page, pages, onPage, label }: { zoom: string; onZoom: (v: string) => void; page?: number; pages?: number; onPage?: (n: number) => void; label: string; }) { return