@ballistix.digital/react-tailwindcss-datepicker
Version:
A modern React Datepicker using Tailwind CSS 3
14 lines (13 loc) • 375 B
TypeScript
import React from "react";
import { DateType } from "types";
interface Props {
date: Date;
minDate?: DateType;
maxDate?: DateType;
onClickPrevious: () => void;
onClickNext: () => void;
changeMonth: (month: number) => void;
changeYear: (year: number) => void;
}
declare const Calendar: (props: Props) => React.JSX.Element;
export default Calendar;