mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 06:27:46 +08:00
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