I have written a simple application using react native for android. i want to know how do i use more than one component adjacent to each other in the return function. If I put a toolbar tag, it gives an error.
return (
<MovieScreen
style={{flex: 1}}
navigator={navigationOperations}
movie={route.movie}
/>
);
Above works. Below one gives error
return (
<Toolbar/>
<MovieScreen
style={{flex: 1}}
navigator={navigationOperations}
movie={route.movie}
/>
);
Please help.