1 |
|
2 | export interface UseTabPanelParameters {
|
3 | |
4 |
|
5 |
|
6 | id?: string;
|
7 | |
8 |
|
9 |
|
10 | rootRef?: React.Ref<HTMLElement>;
|
11 | |
12 |
|
13 |
|
14 | value?: number | string;
|
15 | }
|
16 | interface UseTabPanelRootSlotOwnProps {
|
17 | 'aria-labelledby'?: string;
|
18 | hidden?: boolean;
|
19 | id?: string;
|
20 | ref: React.Ref<HTMLElement>;
|
21 | }
|
22 | export type UseTabPanelRootSlotProps<ExternalProps = {}> = ExternalProps & UseTabPanelRootSlotOwnProps;
|
23 | export interface UseTabPanelReturnValue {
|
24 | |
25 |
|
26 |
|
27 | hidden: boolean;
|
28 | |
29 |
|
30 |
|
31 |
|
32 |
|
33 | getRootProps: <ExternalProps extends Record<string, unknown> = {}>(externalProps?: ExternalProps) => UseTabPanelRootSlotProps<ExternalProps>;
|
34 | rootRef: React.Ref<HTMLElement>;
|
35 | }
|
36 | export {};
|