@types/react-burger-menu
Advanced tools
Comparing version 2.1.4 to 2.1.5
@@ -9,2 +9,6 @@ // Type definitions for react-burger-menu 2.1 | ||
export interface State { | ||
isOpen: boolean; | ||
} | ||
export interface Props { | ||
@@ -15,4 +19,4 @@ burgerBarClassName?: string; | ||
crossClassName?: string; | ||
customBurgerIcon?: Element | false; | ||
customCrossIcon?: Element | false; | ||
customBurgerIcon?: JSX.Element | false; | ||
customCrossIcon?: JSX.Element | false; | ||
id?: string; | ||
@@ -25,3 +29,3 @@ isOpen?: boolean; | ||
disableOverlayClick?: boolean; | ||
onStateChange?(): void; | ||
onStateChange?(state: State): void; | ||
// TODO (Rajab) This can be improved, though I do not know how. From PropTypes: | ||
@@ -28,0 +32,0 @@ // styles && styles.outerContainer ? PropTypes.string.isRequired : PropTypes.string |
{ | ||
"name": "@types/react-burger-menu", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "TypeScript definitions for react-burger-menu", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "455fee1d72ea79bc2e9c51c74595b9dcff1aa2f60575530d9623a19f4f0633cf", | ||
"typesPublisherContentHash": "5bc63ab133fe840ca6d2a31f655da065456f99a901f69e00abb63187981e60ab", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 04 Oct 2017 18:05:22 GMT | ||
* Last updated: Wed, 15 Nov 2017 23:11:40 GMT | ||
* Dependencies: 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
4614
54