import React from 'react'; import { motion } from 'motion/react'; import { ZoomIn, ZoomOut } from 'lucide-react'; interface ZoomControlProps { zoom: number; onZoomChange: (zoom: number) => void; } export const ZoomControl: React.FC = ({ zoom, onZoomChange }) => { const decreaseZoom = () => onZoomChange(Math.max(50, zoom - 10)); const increaseZoom = () => onZoomChange(Math.min(200, zoom + 10)); return (
{zoom}%
); };