UNPKG

nextjs-tui-date-range-picker

Version:

nextjs data range picker built with and for NextJs

21 lines (20 loc) 695 B
import React from 'react'; import { DateRangePickerOptions } from 'tui-date-picker'; export type DateRangePickerOption = Partial<DateRangePickerOptions>; export interface TuiDateRangePickerProps { options?: DateRangePickerOption; handleChange: (e: any) => void; startpickerDate?: Date; endpickerDate?: Date; selectableRangeStart?: Date; selectableRangeEnd?: Date; inputWidth?: number | 'auto'; containerWidth?: number; containerHeight?: number; fontSize?: number; backgroundColor?: string; format?: string; padding?: number; } declare const DateRangePickerComponent: React.FC<TuiDateRangePickerProps>; export default DateRangePickerComponent;