@types/react-flatpickr
Advanced tools
Comparing version 3.8.6 to 3.8.7
@@ -14,3 +14,3 @@ // Type definitions for react-flatpickr 3.8 | ||
export interface DateTimePickerProps extends Omit<Partial<HTMLInputElement>, 'value'> { | ||
export interface DateTimePickerProps extends Omit<Partial<HTMLInputElement>, 'children' | 'value'> { | ||
defaultValue?: string | undefined; | ||
@@ -28,2 +28,3 @@ options?: flatpickr.Options.Options | undefined; | ||
className?: string | undefined; | ||
children?: React.ReactNode | undefined; | ||
render?: ((props: Omit<DateTimePickerProps, 'options' | 'render'>, ref: (node: HTMLInputElement | null) => void) => ReactElement) | undefined; | ||
@@ -30,0 +31,0 @@ } |
{ | ||
"name": "@types/react-flatpickr", | ||
"version": "3.8.6", | ||
"version": "3.8.7", | ||
"description": "TypeScript definitions for react-flatpickr", | ||
@@ -36,4 +36,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-flatpickr", | ||
}, | ||
"typesPublisherContentHash": "080969029476ea99005b28425d20b43b3690cd607d84893e19af153553241403", | ||
"typesPublisherContentHash": "e4a68d7f2359a2328d2f652504f46aad8d69b1d47b2197c7e2352af34e0f4efe", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -24,3 +24,3 @@ # Installation | ||
export interface DateTimePickerProps extends Omit<Partial<HTMLInputElement>, 'value'> { | ||
export interface DateTimePickerProps extends Omit<Partial<HTMLInputElement>, 'children' | 'value'> { | ||
defaultValue?: string | undefined; | ||
@@ -38,2 +38,3 @@ options?: flatpickr.Options.Options | undefined; | ||
className?: string | undefined; | ||
children?: React.ReactNode | undefined; | ||
render?: ((props: Omit<DateTimePickerProps, 'options' | 'render'>, ref: (node: HTMLInputElement | null) => void) => ReactElement) | undefined; | ||
@@ -49,3 +50,3 @@ } | ||
### Additional Details | ||
* Last updated: Tue, 01 Mar 2022 21:01:57 GMT | ||
* Last updated: Mon, 06 Jun 2022 16:31:32 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/flatpickr](https://npmjs.com/package/@types/flatpickr) | ||
@@ -52,0 +53,0 @@ * Global values: none |
6340
29
54