The Tab headless controller offers a high-level interface for designing a common tab UI controller.

Example: tab.fn.tsx

interface Tab {
    state: TabState;
    select(): void;
    subscribe(listener: () => void): Unsubscribe;
}

Hierarchy (View Summary)

Methods

Properties

Methods

Properties

state: TabState

The state of the Tab controller.