Remove sticker interfaces and types.

This commit is contained in:
Lucid Kobold
2022-02-03 13:38:34 -06:00
parent 62338cf735
commit e8670f7778

View File

@@ -14,21 +14,8 @@ interface WeekDays {
monday: DaysOfWeek; monday: DaysOfWeek;
} }
type StickerVal = -2 | -1 | 0 | 1 | 2 | null; interface MonthDay {
interface Sticker {
date: Date; date: Date;
sticker: StickerVal;
}
type StickerDays = Sticker[];
interface MonthSticker {
date: Date;
month: Sticker[];
}
interface MonthDay extends Sticker {
isOverflow: boolean; isOverflow: boolean;
overflowDirection: "prev" | "next" | null; overflowDirection: "prev" | "next" | null;
} }
@@ -68,12 +55,6 @@ interface UpdateCalendarProps {
day: number; day: number;
} }
interface UpdateCalendarProps {
year: number;
month: number;
day: number;
}
interface CalenderContextState { interface CalenderContextState {
selectedDate: Date; selectedDate: Date;
title: string; title: string;