UNPKG

react-native-taqweem

Version:

**A dual calendar component (Hijri + Gregorian) for React Native** — minimal, customizable, and theme-ready. Perfect for apps needing culturally-aware calendars, Islamic date pickers, or just modern UX flexibility.

12 lines 972 B
import { type Moment } from 'moment-hijri'; export declare function getPreviousMonth(isHijri: boolean, currentDate: Moment): Moment; export declare function getNextMonth(isHijri: boolean, currentDate: Moment): Moment; export declare function getFullDateFormat(isHijri: boolean): "iYYYY-iM-iD" | "YYYY-M-D"; export declare function getYearMonthFormat(isHijri: boolean): "iYYYY-iM" | "YYYY-M"; export declare function getCalendarTitleFormat(isHijri: boolean): "iMMMM iYYYY" | "MMMM YYYY"; export declare function getCalendarTitle(dateObj: Moment, titleFormat: string): string; export declare function getCurrentYear(isHijri: boolean, currentDate: Moment): number; export declare function getCurrentMonth(isHijri: boolean, currentDate: Moment): number; export declare function getNumberOfDaysInMonth(isHijri: boolean, currentDate: Moment): number; export declare function setDayOfMonth(date: Moment, day: number, isHijri: boolean): Moment; //# sourceMappingURL=utils.d.ts.map