I have a very simple functional component as follows:
import * as React from \'react\'; export interface AuxProps { children: React.ReactNode } con
You can also use React.PropsWithChildren.
React.PropsWithChildren
type ComponentWithChildProps = React.PropsWithChildren<{example?: string}>;