• The NavigationAwareStation component can be used by any station that needs to restrict navigation. It allows defining a callback that will be executed which eventually decides whether the navigation should be allowed or not.

    Note: This component will not add any visual effects e.g. loading states or notifications in case a navigation is cancelled. It's the responsibility of the station to perform meaningful visualization of what's going on.

    Parameters

    Returns null | ReactElement<any, any>

Generated using TypeDoc