react-semantic-ui-datepickers
Version:
Datepickers built with Semantic UI for React and Dayzed
24 lines (23 loc) • 743 B
TypeScript
import React from 'react';
import { DateFns, Locale, SemanticDatepickerProps } from 'types';
import './calendar.css';
declare type CalendarProps = {
calendars: any[];
filterDate: (date: Date) => boolean;
getBackProps: (props: any) => void;
getDateProps: (props: any) => void;
getForwardProps: (props: any) => void;
maxDate?: DateFns;
minDate?: DateFns;
months: Locale['months'];
nextMonth: string;
nextYear: string;
pointing: SemanticDatepickerProps['pointing'];
previousMonth: string;
previousYear: string;
showToday: boolean;
todayButton: string;
weekdays: Locale['weekdays'];
};
declare const Calendar: React.FC<CalendarProps>;
export default Calendar;