Added more todos.
This commit is contained in:
@@ -33,6 +33,12 @@ const CalenderNav = (): JSX.Element => {
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* TODO: Add logic to remove the nav buttons.
|
||||
* Do not show next button for current month.
|
||||
* Do not show prev when there is nothing left to see in the past.
|
||||
*/
|
||||
|
||||
return (
|
||||
<HStack spacing={10} as="nav" w="auto" h="10vh" textAlign="center">
|
||||
<IconButton
|
||||
|
||||
@@ -47,6 +47,12 @@ const Day = (props: DayProps): JSX.Element => {
|
||||
// This handles the modal for this date.
|
||||
const [isOpen, setIsOpen] = useState<boolean>(false);
|
||||
|
||||
/**
|
||||
* TODO: Add logic to remove the onClick within overflow dates.
|
||||
* Do not give dates for the next month an onClick.
|
||||
* Do not give dates in the past an onClick there is nothing before that month.
|
||||
*/
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
{isOverflow && (
|
||||
|
||||
Reference in New Issue
Block a user