hamro-nepali-patro
Version:
A modern React component library for Nepali (Bikram Sambat, BS) and Gregorian (AD) calendar date picking, conversion, and utilities. Includes a customizable datepicker, BS/AD conversion, and Nepali date functions.
17 lines (16 loc) • 557 B
TypeScript
import React from "react";
import { DateRange, DisableProps, IDateObject } from "../types/main";
interface DateRendererProps extends DisableProps {
isAD: boolean;
selectedData: IDateObject;
shouldPressOK: boolean;
onChangeDate: (adDate: IDateObject, bsDate: IDateObject) => void;
showExtra: boolean;
changeMonth: (n: number) => void;
range?: DateRange | null;
dateFormat: string;
year: number;
month: number;
}
declare const DateRenderer: (props: DateRendererProps) => React.JSX.Element;
export default DateRenderer;