tips Use JSX.Element, React.ReactNode, etc. for the specified Props type. When it receives the components, receive props as an argument and extract the component from props. When creating a function component, props are often written as ({child1, child2}) etc. in the argument, but it should be (props) (probably because of rendering). Code Suppose a components called Children receives the components with props names child1 and child2.