Skip to main content
Module

std/types/react-dom.d.ts>Renderer

Deno standard library
Go to Latest
interface Renderer
import { type Renderer } from "https://deno.land/std@0.40.0/types/react-dom.d.ts";

Call Signatures

<T extends Element>(
element: DOMElement<DOMAttributes<T>, T>,
container: Element | null,
callback?: () => void,
): T
(
element: Array<DOMElement<DOMAttributes<any>, any>>,
container: Element | null,
callback?: () => void,
): Element
(
element: SFCElement<any> | Array<SFCElement<any>>,
container: Element | null,
callback?: () => void,
): void
<P, T extends Component<P, ComponentState>>(
element: CElement<P, T>,
container: Element | null,
callback?: () => void,
): T
(
element: Array<CElement<any, Component<any, ComponentState>>>,
container: Element | null,
callback?: () => void,
): Component<any, ComponentState>
<P>(
element: ReactElement<P>,
container: Element | null,
callback?: () => void,
): Component<P, ComponentState> | Element | void
(
element: ReactElement[],
container: Element | null,
callback?: () => void,
): Component<any, ComponentState> | Element | void