react-hijri-calendar
Version:
A pluggable React calendar component supporting Hijri and Gregorian dates, theming, and custom rendering.
17 lines (16 loc) • 381 B
TypeScript
import type React from 'react';
interface CalendarHeaderProps {
month: string;
year: string | number;
isHijri: boolean;
labels: {
gregorian: string;
hijri: string;
};
onToggleHijri: () => void;
onPrev: () => void;
onNext: () => void;
lang: string;
}
export declare const CalendarHeader: React.FC<CalendarHeaderProps>;
export {};