@rnwonder/solid-date-picker
Version:
A responsive, highly-customizable datepicker component for SolidJS.
23 lines (22 loc) • 866 B
TypeScript
import { Component, JSXElement, Accessor } from "solid-js";
import { ApplyDateRange, DateArray, DateObjectUnits, DatePickerDayClassNamesAndColors, HoverRangeValue } from "../../interface/general";
interface DatePickerDayProps extends DatePickerDayClassNamesAndColors, Partial<ApplyDateRange> {
header?: boolean;
children?: JSXElement;
onClick?: () => void;
disabled?: boolean;
disabledDays?: DateArray[];
shouldHighlightWeekends?: boolean;
onDisabledDayError?: (data: DateObjectUnits) => void;
onHover?: () => void;
onHoverEnd?: () => void;
hoverRangeValue?: Accessor<HoverRangeValue>;
wrapperProps?: any;
headerValue?: string;
noButtonAnimation?: boolean;
month?: Accessor<number>;
year?: Accessor<number>;
day?: number;
}
export declare const DatePickerDay: Component<DatePickerDayProps>;
export {};