UNPKG

phx-react

Version:

PHX REACT

25 lines (24 loc) 875 B
import React from 'react'; import { CalendarProps } from './components/Calendar'; export interface DatePickerProps extends CalendarProps { onChange?(value: { startDate: string; endDate: string; }): void; defaultValue?: number; label?: string; disabled?: boolean; className?: string; origin?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; id?: string; error?: boolean; errorType?: 'required-field'; position_component?: 'left'; isFullWidth?: boolean; defaultRange?: { start: string; end: string; }; hide365Days?: boolean; } export declare function PHXDateRangePicker({ className, defaultValue, disabled, disabledDate, error, errorType, label, max, min, onChange, position_component, origin, isFullWidth, defaultRange, hide365Days, }: DatePickerProps): React.JSX.Element;