import { Stack, IconButton, useColorModeValue } from '@chakra-ui/react' import { PlusIcon, MinusIcon } from '@/components/icons' import { headerHeight } from '@/features/editor/constants' type Props = { onZoomInClick: () => void onZoomOutClick: () => void } export const ZoomButtons = ({ onZoomInClick: onZoomIn, onZoomOutClick: onZoomOut, }: Props) => ( } aria-label={'Zoom in'} size="sm" onClick={onZoomIn} bgColor={useColorModeValue('white', undefined)} borderBottomRadius={0} /> } aria-label={'Zoom out'} size="sm" onClick={onZoomOut} bgColor={useColorModeValue('white', undefined)} borderTopRadius={0} /> )