react-flatpickr remove minor version

This commit is contained in:
Tyler
2018-11-29 11:45:23 -07:00
parent f8ad249741
commit 0085b9868c
+13 -13
View File
@@ -1,4 +1,4 @@
// Type definitions for react-flatpickr 3.6.4
// Type definitions for react-flatpickr 3.6
// Project: https://github.com/coderhaoxin/react-flatpickr
// Definitions by: begincalendar <https://github.com/begincalendar>
// snaveevans <https://github.com/snaveevans>
@@ -9,18 +9,18 @@ import { Component } from "react";
import flatpickr from "flatpickr";
export interface DateTimePickerProps {
defaultValue?: string;
options?: flatpickr.Options.Options;
onChange?: flatpickr.Options.Hook;
onOpen?: flatpickr.Options.Hook;
onClose?: flatpickr.Options.Hook;
onMonthChange?: flatpickr.Options.Hook;
onYearChange?: flatpickr.Options.Hook;
onReady?: flatpickr.Options.Hook;
onValueUpdate?: flatpickr.Options.Hook;
onDayCreate?: flatpickr.Options.Hook;
value?: string | Date | number | Array<string | Date | number>;
children?: JSX.Element;
defaultValue?: string;
options?: flatpickr.Options.Options;
onChange?: flatpickr.Options.Hook;
onOpen?: flatpickr.Options.Hook;
onClose?: flatpickr.Options.Hook;
onMonthChange?: flatpickr.Options.Hook;
onYearChange?: flatpickr.Options.Hook;
onReady?: flatpickr.Options.Hook;
onValueUpdate?: flatpickr.Options.Hook;
onDayCreate?: flatpickr.Options.Hook;
value?: string | Date | number | Array<string | Date | number>;
children?: JSX.Element;
}
export default class DatePicker extends Component<DateTimePickerProps> {}