import { ChevronLeft, ChevronRight } from "lucide-react"; import React from "react"; import { formatDuration } from "./utils"; // Component props interface export interface NavigationControlsProps { viewDuration: number; handlePan: (direction: "left" | "right") => void; handleZoomDragStart: (e: React.MouseEvent) => void; } export function NavigationControls({ viewDuration, handlePan, handleZoomDragStart, }: NavigationControlsProps) { return (
{formatDuration(viewDuration)}
); }