I would like to implement a custom component that accepts a nested component. Something that can be used like this.
<MyCustomComponent><AnyNestedComponent/></MyCustomComponent>I searched about this but only found the use of this.props, which is not what I expect.
How do I implement MyCustomComponent in React Native version 0.68?
Note:MyCustomComponent will consist of View(s).