1 | import * as React from 'react';
|
2 |
|
3 | export interface TabContextValue {
|
4 | idPrefix: string;
|
5 | value: string;
|
6 | }
|
7 |
|
8 | export interface TabContextProps {
|
9 | |
10 |
|
11 |
|
12 | children?: React.ReactNode;
|
13 | |
14 |
|
15 |
|
16 | value: string;
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | export default function TabContext(props: TabContextProps): JSX.Element;
|
29 | export function useTabContext(): TabContextValue | null;
|
30 | export function getPanelId(context: TabContextValue, tabValue: string): string;
|
31 | export function getTabId(context: TabContextValue, tabValue: string): string;
|