UNPKG

629 BTypeScriptView Raw
1import * as React from 'react';
2import { ListContextValue } from '../useList/ListContext';
3import { TabMetadata } from '../useTabs';
4import { CompoundComponentContextValue } from '../useCompound';
5export type TabsListProviderValue = CompoundComponentContextValue<string | number, TabMetadata> & ListContextValue<string | number>;
6export interface TabsListProviderProps {
7 value: TabsListProviderValue;
8 children: React.ReactNode;
9}
10/**
11 * Sets up the contexts for the underlying Tab components.
12 *
13 * @ignore - do not document.
14 */
15export declare function TabsListProvider(props: TabsListProviderProps): React.JSX.Element;