@helpwave/hightide
Version:
helpwave's component and theming library
21 lines (18 loc) • 746 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { WeekDay } from '../../util/date.js';
type DayPickerProps = {
displayedMonth: Date;
selected?: Date;
start?: Date;
end?: Date;
onChange?: (date: Date) => void;
weekStart?: WeekDay;
markToday?: boolean;
className?: string;
};
/**
* A component for selecting a day of a month
*/
declare const DayPicker: ({ displayedMonth, selected, start, end, onChange, weekStart, markToday, className }: DayPickerProps) => react_jsx_runtime.JSX.Element;
declare const DayPickerUncontrolled: ({ displayedMonth, selected, onChange, ...restProps }: DayPickerProps) => react_jsx_runtime.JSX.Element;
export { DayPicker, type DayPickerProps, DayPickerUncontrolled };