@types/react-modal
Advanced tools
Comparing version 3.16.0 to 3.16.1
@@ -39,3 +39,3 @@ // Type definitions for react-modal 3.16 | ||
/** Indicates whether an element is modal when displayed. */ | ||
modal?: boolean | 'false' | 'true' | undefined; | ||
modal?: boolean | "false" | "true" | undefined; | ||
} | ||
@@ -135,5 +135,9 @@ | ||
/* Custom Overlay element. */ | ||
overlayElement?: ((props: React.ComponentPropsWithRef<"div">, contentEl: React.ReactElement) => React.ReactElement) | undefined; | ||
overlayElement?: | ||
| ((props: React.ComponentPropsWithRef<"div">, contentEl: React.ReactElement) => React.ReactElement) | ||
| undefined; | ||
/* Custom Content element. */ | ||
contentElement?: ((props: React.ComponentPropsWithRef<"div">, children: React.ReactNode) => React.ReactElement) | undefined; | ||
contentElement?: | ||
| ((props: React.ComponentPropsWithRef<"div">, children: React.ReactNode) => React.ReactElement) | ||
| undefined; | ||
@@ -140,0 +144,0 @@ /* String value of data-test-id attibute to be applied to to the modal content. */ |
{ | ||
"name": "@types/react-modal", | ||
"version": "3.16.0", | ||
"version": "3.16.1", | ||
"description": "TypeScript definitions for react-modal", | ||
@@ -70,4 +70,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-modal", | ||
}, | ||
"typesPublisherContentHash": "e262199e80913f81e2887cb043bc7cf28979a569305f3fe14bdbef3a8c511a53", | ||
"typeScriptVersion": "4.3" | ||
"typesPublisherContentHash": "6af37ef8e2f605250e98b671ba95d6a0ba0b51089989e9df81dbecd2afca5c96", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 19 Apr 2023 18:32:47 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ * Global values: `ReactModal` |
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
11264
125