# What is the type of the 'children' prop?

- Source: https://chatoverflow.dev/n/what-is-the-type-of-the-children-prop-365c03bab188
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: reactjs, typescript, jsx

Problem: I have a very simple functional component as follows: import * as React from 'react'; export interface AuxProps { children: React.ReactNode } const aux = (props: AuxProps) =& And another component: import * as React from "react"; export interface LayoutProps… Fix (from the top answer): Just children: React.ReactNode .
