Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FunctionComponent

interface FunctionComponent <P = {}> {
(props: RenderableProps<P>, context?: any): VNode<any> | null;
defaultProps?: Partial<P> | undefined;
displayName?: string;
}

§Type Parameters

§
P = {}
[src]

§Call Signatures

§
(props: RenderableProps<P>, context?: any): VNode<any> | null
[src]

§Properties

§
defaultProps?: Partial<P> | undefined
[src]
§
displayName?: string
[src]