react-hijri-calendar
Version:
A pluggable React calendar component supporting Hijri and Gregorian dates, theming, and custom rendering.
6 lines (5 loc) • 406 B
TypeScript
import type { HijriDate } from './types';
export declare const isFirstHijriMonth: (currentHijriDate: HijriDate) => boolean;
export declare const isLastHijriMonth: (currentHijriDate: HijriDate) => boolean;
export declare const getHijriDate: (gregorianDate: Date) => HijriDate;
export declare const getDaysInMonthArray: (isHijri: boolean, currentActiveViewDate: Date, currentHijriDate: HijriDate) => Date[];