Refactor #3983 - For TabView

This commit is contained in:
Tuğçe Küçükoğlu 2023-05-24 10:07:13 +03:00
parent 0ddf82f471
commit 6e65824aeb
3 changed files with 29 additions and 7 deletions

View file

@ -8,6 +8,7 @@
*
*/
import { ButtonHTMLAttributes, VNode } from 'vue';
import { TabPanelPassThroughOptionType } from '../tabpanel';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export declare type TabViewPassThroughOptionType = TabViewPassThroughAttributes | ((options: { props: TabViewProps; state: TabViewState }) => TabViewPassThroughAttributes) | null | undefined;
@ -55,6 +56,10 @@ export interface TabViewPassThroughOptions {
* Uses to pass attributes to the list's DOM element.
*/
nav?: TabViewPassThroughOptionType;
/**
* Uses to pass attributes to TabPanel helper components.
*/
tab?: TabPanelPassThroughOptionType;
/**
* Uses to pass attributes to the inkbar's DOM element.
*/