react-custom-calendarss
Version:
A calendar that can be customized to your liking 🧨
14 lines (13 loc) • 435 B
TypeScript
interface MonthCalendarOptions {
type: string;
initialDate?: Date;
}
declare const MonthCalendar: ({ type, initialDate }: MonthCalendarOptions) => {
currentDate: string;
setCurrentDate: import('react').Dispatch<import('react').SetStateAction<string>>;
monthCalendarData: string[][];
moveToNext: () => void;
moveToPrev: () => void;
moveToPeriod: (delta: number) => void;
};
export default MonthCalendar;