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.
10 lines • 491 B
TypeScript
import type { CalendarDay } from './types';
import moment from 'moment-hijri';
export declare const useCalendarInfo: (isHijri: boolean, dateObj: moment.Moment) => {
year: number;
month: number;
daysInMonth: number;
};
export declare const useCalendarDays: (isHijri: boolean, year: number, month: number, daysInMonth: number, showAdjacentMonths: boolean) => (CalendarDay | null)[];
export declare const useWeekdays: (lang?: string) => string[];
//# sourceMappingURL=hooks.d.ts.map