CIA Compliance Manager API Documentation - v1.1.6
    Preparing search index...

    Interface UseTabsReturn

    Return type for the useTabs hook

    interface UseTabsReturn {
        activeTab: string;
        handleKeyDown: (event: KeyboardEvent, currentTabId: string) => void;
        selectTab: (tabId: string) => void;
        tabRefs: MutableRefObject<Map<string, HTMLButtonElement>>;
    }
    Index

    Properties

    activeTab: string

    Currently active tab ID

    handleKeyDown: (event: KeyboardEvent, currentTabId: string) => void

    Keyboard event handler for tab navigation

    selectTab: (tabId: string) => void

    Function to select a tab programmatically

    tabRefs: MutableRefObject<Map<string, HTMLButtonElement>>

    Ref map for tab button elements (used for focus management)