I have a very simple functional component as follows:
import * as React from \'react\'; export interface AuxProps { children: React.ReactNode } con
This is what worked for me:
interface Props { children: JSX.Element[] | JSX.Element }
Edit I would recommend using children: React.ReactNode instead now.
children: React.ReactNode