import React from 'react'; import { Box, Button, Text } from '@chakra-ui/react'; import { ArrowBackIcon, ArrowForwardIcon } from '@chakra-ui/icons'; interface DateNavigatorProps { currentDate: Date; onPreviousDate: () => void; onNextDate: () => void; } const DateNavigator = ({ currentDate, onPreviousDate, onNextDate, }: DateNavigatorProps) => { return ( {currentDate.toLocaleDateString()} ); }; export default DateNavigator;