mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 18:43:21 +08:00
Merge pull request #21672 from pierre-H/patch-2
[react-flatpickr] Update to new flatpickr def
This commit is contained in:
6
types/react-flatpickr/index.d.ts
vendored
6
types/react-flatpickr/index.d.ts
vendored
@@ -5,12 +5,12 @@
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
import { Component } from 'react';
|
||||
import { Hook, Options } from 'flatpickr';
|
||||
import { Options } from 'flatpickr';
|
||||
|
||||
export interface DateTimePickerProps {
|
||||
defaultValue?: string;
|
||||
options?: Options;
|
||||
onChange?: Hook;
|
||||
options?: Options.Options;
|
||||
onChange?: Options.Hook;
|
||||
value?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user