React and TypeScript
ReactNode
Type of content React accepts for rendering, depending on type package version.
Formal Syntax & Structure
react syntaxreact
children: ReactNodeWorking Example
Example Snippetreact
children: ReactNodeType of content React accepts for rendering, depending on type package version.
children: ReactNodechildren: ReactNode