import { ZoomInIcon, ZoomOutIcon } from '@radix-ui/react-icons' import { TertiaryButton, TertiaryButtonsContainer } from './shared' import state, { useSelector } from 'state' import tld from 'utils/tld' const zoomIn = () => state.send('ZOOMED_IN') const zoomOut = () => state.send('ZOOMED_OUT') const zoomToFit = () => state.send('ZOOMED_TO_FIT') const zoomToActual = () => state.send('ZOOMED_TO_ACTUAL') export default function Zoom(): JSX.Element { return ( ) } function ZoomCounter() { const zoom = useSelector((s) => tld.getCurrentCamera(s.data).zoom) return ( {Math.round(zoom * 100)}% ) }