Reference

jsxs

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

Signature

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