TabsApi: {
    setValue: (value: string, options?: { focus?: boolean }) => void;
    value: string;
}

Imperative handle returned by enhanceTabs.

Type declaration

  • setValue: (value: string, options?: { focus?: boolean }) => void

    Select the tab with value. Pass focus: true to also move focus.

  • Readonlyvalue: string

    Value of the currently selected tab.