import {withAuthorization} from 'with-auth' class MyProtectedComponent extends Component { render () { <View>...</View> } } export default withAuthorization(MyProtectedComponent)