"react native" component dynamic children props
const the_children = () => (<Text>Hello</Text>)
...
<Component children={the_children}></Component>
...
export const Component = ({ children }) => {
return (
<View> {!!children && children()} </View>
);
};