UNPKG

@armin-eslami/persian-calendar

Version:

Big persian calendar component made by react.

11 lines (10 loc) 756 B
import { type ClassValue } from "clsx"; import { PersianCalendarEvent, Day } from "../props"; import { Month } from "../props/Month"; export declare function cn(...inputs: ClassValue[]): string; export declare function createYearMonth(year: string, events: PersianCalendarEvent[], offDates: string[], offDaysOfWeek: number[], monthTitleFormat: string): Month[]; export declare function createMonthDays(year: string, month: number, events: PersianCalendarEvent[], offDates: string[], offDaysOfWeek: number[]): Day[]; export declare function toPersianDigits(input: string | number): string; export declare function getCurrentYear(): string; export declare function getCurrentMonthIndex(): number; export declare function getMonthName(month: number): string;