@umijs/renderer-react 4.3.1 → 4.3.3

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/dist/browser.d.ts CHANGED
@@ -88,4 +88,4 @@ export declare type RenderClientOpts = {
88
88
  * @param {RenderClientOpts} opts - 插件相关的配置
89
89
  * @returns void
90
90
  */
91
- export declare function renderClient(opts: RenderClientOpts): (() => React.JSX.Element) | undefined;
91
+ export declare function renderClient(opts: RenderClientOpts): (() => JSX.Element) | undefined;
package/dist/html.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { IHtmlProps } from './types';
3
- export declare function Html({ children, loaderData, manifest, htmlPageOpts, __INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, mountElementId, }: React.PropsWithChildren<IHtmlProps>): React.JSX.Element;
3
+ export declare function Html({ children, loaderData, manifest, htmlPageOpts, __INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, mountElementId, }: React.PropsWithChildren<IHtmlProps>): JSX.Element;
package/dist/server.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
1
  import { IRootComponentOptions } from './types';
3
- export declare function getClientRootComponent(opts: IRootComponentOptions): Promise<React.JSX.Element>;
2
+ export declare function getClientRootComponent(opts: IRootComponentOptions): Promise<JSX.Element>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/renderer-react",
3
- "version": "4.3.1",
3
+ "version": "4.3.3",
4
4
  "description": "@umijs/renderer-react",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/renderer-react#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",