mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
react-flatpickr add underlying flatpickr instance property (#42620)
This commit is contained in:
parent
8f9dbc069a
commit
080aa0845b
5
types/react-flatpickr/index.d.ts
vendored
5
types/react-flatpickr/index.d.ts
vendored
@ -4,6 +4,7 @@
|
||||
// snaveevans <https://github.com/snaveevans>
|
||||
// rigothedev <https://github.com/rigothedev>
|
||||
// doniyor2109 <https://github.com/doniyor2109>
|
||||
// jleider <https://github.com/jleider>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
@ -28,4 +29,6 @@ export interface DateTimePickerProps extends Omit<Partial<HTMLInputElement>, 'va
|
||||
render?: (props: Omit<DateTimePickerProps, 'options' | 'render'>, ref: (node: HTMLInputElement) => void) => ReactElement;
|
||||
}
|
||||
|
||||
export default class DatePicker extends Component<DateTimePickerProps> {}
|
||||
export default class DatePicker extends Component<DateTimePickerProps> {
|
||||
flatpickr: flatpickr.Instance;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user