1 | import * as React from 'react';
|
2 | import { TabsContextValue } from '../Tabs/TabsContext';
|
3 | import { CompoundComponentContextValue } from '../useCompound';
|
4 | export type TabPanelMetadata = {
|
5 | id: string | undefined;
|
6 | ref: React.RefObject<HTMLElement>;
|
7 | };
|
8 | export type TabsProviderValue = CompoundComponentContextValue<string | number, TabPanelMetadata> & TabsContextValue;
|
9 | export interface TabsProviderProps {
|
10 | value: TabsProviderValue;
|
11 | children: React.ReactNode;
|
12 | }
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function TabsProvider(props: TabsProviderProps): React.JSX.Element;
|