score:0

export default withAuthenticationRequired(MyComponent, {
    onRedirecting: function OnRedirectingComponent() {
      return <div>Redirecting you to the login page...</div>
    },
});

Related Query

More Query from same tag