pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
import * as React from 'react';
|
||||
import { TabsContextValue } from '../Tabs/TabsContext';
|
||||
import { CompoundComponentContextValue } from '../useCompound';
|
||||
export type TabPanelMetadata = {
|
||||
id: string | undefined;
|
||||
ref: React.RefObject<HTMLElement>;
|
||||
};
|
||||
export type TabsProviderValue = CompoundComponentContextValue<string | number, TabPanelMetadata> & TabsContextValue;
|
||||
export interface TabsProviderProps {
|
||||
value: TabsProviderValue;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
/**
|
||||
* Sets up the contexts for the underlying Tab and TabPanel components.
|
||||
*
|
||||
* @ignore - do not document.
|
||||
*/
|
||||
export declare function TabsProvider(props: TabsProviderProps): React.JSX.Element;
|
||||
Reference in new issue
Block a user