@react-three/fiber 8.8.8 → 8.8.9

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @react-three/fiber
2
2
 
3
+ ## 8.8.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 4254400e: fix(createPortal): use correct JSX type
8
+
3
9
  ## 8.8.8
4
10
 
5
11
  ### Patch Changes
@@ -51,7 +51,7 @@ export declare type InjectState = Partial<Omit<RootState, PrivateKeys> & {
51
51
  };
52
52
  size?: Size;
53
53
  }>;
54
- declare function createPortal(children: React.ReactNode, container: THREE.Object3D, state?: InjectState): React.ReactNode;
54
+ declare function createPortal(children: React.ReactNode, container: THREE.Object3D, state?: InjectState): JSX.Element;
55
55
  declare const act: any;
56
56
  export * from './hooks';
57
57
  export { context, render, createRoot, unmountComponentAtNode, createPortal, reconciler, applyProps, dispose, invalidate, advance, extend, addEffect, addAfterEffect, addTail, getRootState, act, roots as _roots, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-three/fiber",
3
- "version": "8.8.8",
3
+ "version": "8.8.9",
4
4
  "description": "A React renderer for Threejs",
5
5
  "keywords": [
6
6
  "react",