@jk-core/components
Version:
components for jk
22 lines (21 loc) • 784 B
TypeScript
import { CalendarRange, CalendarView } from '../../type';
interface Props {
hoverDate?: Date | null;
setHoverDate?: (date: Date | null) => void;
selectedDate?: CalendarRange;
weeksInMonth: {
thisMonth: string;
date: Date;
}[][];
tileContent?: (date: Date | undefined, view: CalendarView) => React.ReactNode;
handleDayClick: (day: Date) => void;
max?: Date;
min?: Date;
hideBefore?: boolean;
hideAfter?: boolean;
range?: boolean;
scroll?: boolean;
style?: React.CSSProperties;
}
export default function DayTile({ selectedDate, weeksInMonth, tileContent, handleDayClick, range, max, min, hideBefore, hideAfter, style, scroll, hoverDate, setHoverDate, }: Props): import("react/jsx-runtime").JSX.Element;
export {};