We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08731f2 commit f099d2fCopy full SHA for f099d2f
typings/index.d.ts
@@ -13,12 +13,18 @@ export interface RenderResult extends GetsAndQueries {
13
asFragment: () => DocumentFragment
14
}
15
16
+export interface RenderOptions {
17
+ container: HTMLElement
18
+ baseElement?: HTMLElement
19
+ hydrate?: boolean
20
+}
21
+
22
/**
23
* Render into a container which is appended to document.body. It should be used with cleanup.
24
*/
25
export function render(
26
ui: React.ReactElement<any>,
- options?: {container: HTMLElement; baseElement?: HTMLElement},
27
+ options?: RenderOptions,
28
): RenderResult
29
30
0 commit comments