@mui/base
Version:
A library of headless ('unstyled') React UI components and low-level hooks.
16 lines (15 loc) • 643 B
TypeScript
import * as React from 'react';
import { ListContextValue } from '../useList/ListContext';
import { TabMetadata } from '../useTabs/useTabs';
import { CompoundComponentContextValue } from '../utils/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 default function TabsListProvider(props: TabsListProviderProps): React.JSX.Element;