Reference

jsx

Creates a single-child JSX element for the automatic JSX runtime.

Signature

function jsx<P>(type: ElementType<P>, props: P & { children?: ReactCompatNode; key?: unknown; ref?: unknown } | null, key?: unknown): ReactCompatElement<P>