UNPKG

@base-ui-components/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

10 lines 433 B
import * as React from 'react'; export interface TabsListContext { activateOnFocus: boolean; highlightedTabIndex: number; onTabActivation: (newValue: any, event: Event) => void; setHighlightedTabIndex: (index: number) => void; tabsListRef: React.RefObject<HTMLElement | null>; } export declare const TabsListContext: React.Context<TabsListContext | undefined>; export declare function useTabsListContext(): TabsListContext;