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

Component

A general Component has no implicit children prop. If desired, you can specify one as in Component<{name: String, children: JSX.Element}>.

type Component<P = {}> = (props: P) => JSX.Element;

§Type Parameters

§
P = {}
[src]

§Type

§
(props: P) => JSX.Element
[src]