@types/react-widgets
Advanced tools
Comparing version 4.4.1 to 4.4.2
@@ -5,2 +5,4 @@ import { ComponentClass, KeyboardEvent, ReactElement, ReactType } from 'react'; | ||
declare namespace DateTimePicker { | ||
type Open = false | "date" | "time"; | ||
interface DateTimePickerProps extends ReactWidgetsCommonDropdownProps, AutoFocus { | ||
@@ -141,3 +143,3 @@ /** | ||
*/ | ||
open?: false | "date" | "time"; | ||
open?: Open; | ||
/** | ||
@@ -147,3 +149,3 @@ * The defaultOpen prop can be used to set an | ||
*/ | ||
defaultOpen?: false | "calendar" | "time"; | ||
defaultOpen?: Open; | ||
/** | ||
@@ -153,3 +155,3 @@ * Called when the DateTimePicker is about to open or close. onToggle should be used when | ||
*/ | ||
onToggle?: (isOpen: boolean) => void; | ||
onToggle?: (isOpen: Open) => void; | ||
/** | ||
@@ -156,0 +158,0 @@ * The speed, in milliseconds, of the either dropdown animation. |
{ | ||
"name": "@types/react-widgets", | ||
"version": "4.4.1", | ||
"version": "4.4.2", | ||
"description": "TypeScript definitions for react-widgets", | ||
@@ -74,4 +74,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "6704fcaf9ab221275e62d53224c4ba4546f06f9bf43a55f4d7a9a63ff3814b70", | ||
"typesPublisherContentHash": "e1120dc43707309720a62511cf7e4e5d859c7fe47047a788442a47e165905331", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 31 Dec 2019 23:36:41 GMT | ||
* Last updated: Thu, 02 Jan 2020 23:19:08 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1208
54788