nextspace
    Preparing search index...

    Interface UseTabNavigationParams

    Parameters required for the useTabNavigation hook, including the router and functions to clear unseen resources and resource badges. UseTabNavigationParams - Defines the structure of the parameters required for the useTabNavigation hook.

    interface UseTabNavigationParams {
        onClearResourcesBadge: () => void;
        onClearUnseenResources: () => void;
        router: NextRouter;
    }
    Index

    Properties

    onClearResourcesBadge: () => void

    Function to clear the resources badge when the resources tab is accessed.

    onClearUnseenResources: () => void

    Function to clear unseen resources when navigating away from the resources tab.

    router: NextRouter

    The Next.js router instance used for navigation and query management.