React Typescript types for childrens data code example Example: react children typescript interface Props { children: JSX.Element[] | JSX.Element }