I'm not an expert on react, and I can't find a way to do this, but how can I create a custom component that I could be used like this:
<MyComponent>
<View></View>
<View></View>
...
</MyComponent>
Where, inside I could place whatever I want. The MyComponent could be:
<View>
<View>
</View> <-- Header
<View>
</View> <-- Content
Childs, the two Views, would be placed here.
<View>
<View>
</View> <-- Fotter
</View>
Is this possible to achieve?
Thanks very much in advance :)