UNPKG

@mui/base

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.

16 lines (15 loc) 629 B
import * as React from 'react'; import { ListContextValue } from '../useList/ListContext'; import { TabMetadata } from '../useTabs'; import { CompoundComponentContextValue } from '../useCompound'; export type TabsListProviderValue = CompoundComponentContextValue<string | number, TabMetadata> & ListContextValue<string | number>; export interface TabsListProviderProps { value: TabsListProviderValue; children: React.ReactNode; } /** * Sets up the contexts for the underlying Tab components. * * @ignore - do not document. */ export declare function TabsListProvider(props: TabsListProviderProps): React.JSX.Element;