@types/react 19.1.0 → 19.1.1

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/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for react (https://react.dev/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 02 Apr 2025 07:33:00 GMT
11
+ * Last updated: Fri, 11 Apr 2025 15:34:45 GMT
12
12
  * Dependencies: [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/experimental.d.ts CHANGED
@@ -214,4 +214,19 @@ declare module "." {
214
214
  export interface FragmentProps {
215
215
  ref?: Ref<FragmentInstance> | undefined;
216
216
  }
217
+
218
+ // @enableActivity
219
+ export interface ActivityProps {
220
+ /**
221
+ * @default "visible"
222
+ */
223
+ mode?:
224
+ | "hidden"
225
+ | "visible"
226
+ | undefined;
227
+ children: ReactNode;
228
+ }
229
+
230
+ /** */
231
+ export const unstable_Activity: ExoticComponent<ActivityProps>;
217
232
  }
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "19.1.0",
3
+ "version": "19.1.1",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -205,6 +205,6 @@
205
205
  "csstype": "^3.0.2"
206
206
  },
207
207
  "peerDependencies": {},
208
- "typesPublisherContentHash": "045855bc6d5c9b02e38d720a00155e1b47f4bbcadcbbdaa2b3da3bd9ae7c88a3",
208
+ "typesPublisherContentHash": "c26a2243260136cf2f603397b7d6123ad019dfeba3c35c2546d2e1603afcb385",
209
209
  "typeScriptVersion": "5.1"
210
210
  }
@@ -214,4 +214,19 @@ declare module "." {
214
214
  export interface FragmentProps {
215
215
  ref?: Ref<FragmentInstance> | undefined;
216
216
  }
217
+
218
+ // @enableActivity
219
+ export interface ActivityProps {
220
+ /**
221
+ * @default "visible"
222
+ */
223
+ mode?:
224
+ | "hidden"
225
+ | "visible"
226
+ | undefined;
227
+ children: ReactNode;
228
+ }
229
+
230
+ /** */
231
+ export const unstable_Activity: ExoticComponent<ActivityProps>;
217
232
  }