mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Revert "react-flatpickr remove minor version"
This reverts commit 0085b9868c.
This commit is contained in:
Vendored
+13
-13
@@ -1,4 +1,4 @@
|
||||
// Type definitions for react-flatpickr 3.6
|
||||
// Type definitions for react-flatpickr 3.6.4
|
||||
// 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> {}
|
||||
|
||||
Reference in New Issue
Block a user