Update new flatpickr def

See 3c100acb1e/index.d.ts (L28-L29)
This commit is contained in:
Pierre
2017-11-21 16:42:25 +01:00
committed by GitHub
parent 661e7136a7
commit 72921a4e5e

View File

@@ -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;
}