I have an array of react native components and would like to display them all at once in a View however I keep getting the error
RawText [object object] must be wrapped in an explicit Component
and displaying it in a Text will not get the desired result, how do I go about it.
render()
{
var CompArray = new Array();
CompArray[0] = <TextInput placeholder="First Name"/>
CompArray[1] = <TextInput placeholder="Last Name"/>
var Components = CompArray.join();
return(<View>{Components}</View>);
}