import othercomponent from "./othercomponent "; const mycomp=(props) => function WrapperFn() { console.log(props) } expo