UNPKG

@gbm-tech/datepicker

Version:

GBM Tech & Control - Date Picker

18 lines 647 B
import React from 'react'; import { ReactDatePickerProps } from 'react-datepicker'; import 'react-datepicker/dist/react-datepicker.css'; export type DateRangeWithTimePickerProps = ReactDatePickerProps; interface DateRangeState { startDate: Date; endDate: Date; } interface ButtonPropsI extends ReactDatePickerProps { setDateRange?: (payload: DateRangeState) => void; disabled?: boolean; defaultStartDate?: Date; defaultEndDate?: Date; shouldCloseOnSelect?: boolean; } export declare const DateRangeWithTimePicker: React.FC<ButtonPropsI>; export {}; //# sourceMappingURL=DateRangeWithTimePicker.d.ts.map