react-semantic-ui-datepickers
Version:
Datepickers built with Semantic UI for React and Dayzed
23 lines (22 loc) • 781 B
TypeScript
import React from 'react';
import { Locale, RenderProps, SemanticDatepickerProps } from 'types';
import './calendar.css';
interface CalendarProps extends RenderProps {
filterDate: (date: Date) => boolean;
getRootProps: () => Record<string, any>;
inline: SemanticDatepickerProps['inline'];
inverted: SemanticDatepickerProps['inverted'];
maxDate?: Date;
minDate?: Date;
months: Locale['months'];
nextMonth: string;
nextYear: string;
pointing: SemanticDatepickerProps['pointing'];
previousMonth: string;
previousYear: string;
showToday: SemanticDatepickerProps['showToday'];
todayButton: string;
weekdays: Locale['weekdays'];
}
declare const Calendar: React.FC<CalendarProps>;
export default Calendar;