@types/react 16.14.25 → 16.14.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
react v16.14/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (http://facebook.github.io/reac
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 14 Apr 2022 07:01:23 GMT
11
+ * Last updated: Fri, 06 May 2022 20:01:40 GMT
12
12
  * Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
13
13
  * Global values: `React`
14
14
 
react v16.14/index.d.ts CHANGED
@@ -2084,6 +2084,8 @@ declare namespace React {
2084
2084
  }
2085
2085
 
2086
2086
  interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
2087
+ onCancel?: ReactEventHandler<T> | undefined;
2088
+ onClose?: ReactEventHandler<T> | undefined;
2087
2089
  open?: boolean | undefined;
2088
2090
  }
2089
2091
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.14.25",
3
+ "version": "16.14.26",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -146,6 +146,6 @@
146
146
  "@types/scheduler": "*",
147
147
  "csstype": "^3.0.2"
148
148
  },
149
- "typesPublisherContentHash": "918da6a3d1987104bdd4cc436eadd7e2a98d5a2b4791ed9b200a239b09848834",
149
+ "typesPublisherContentHash": "f1a257378a55bc4b5a864f9764913ff5064f3a036cea13a7b54229e73dc31dc2",
150
150
  "typeScriptVersion": "3.9"
151
151
  }