TabPanel d.ts fixes

pull/3857/head
Tuğçe Küçükoğlu 2023-04-12 09:49:45 +03:00
parent 594caf0602
commit 0357f6b995
2 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,6 @@ export interface TabPanelProps {
headerActionProps?: AnchorHTMLAttributes | undefined; headerActionProps?: AnchorHTMLAttributes | undefined;
/** /**
* Inline style of the tab content. * Inline style of the tab content.
* @deprecated since v3.26.0. Use 'pt' property instead.
*/ */
contentStyle?: any; contentStyle?: any;
/** /**
@ -89,6 +88,7 @@ export interface TabPanelProps {
contentClass?: any; contentClass?: any;
/** /**
* Uses to pass all properties of the HTMLDivElement to the tab content. * Uses to pass all properties of the HTMLDivElement to the tab content.
* @deprecated since v3.26.0. Use 'pt' property instead.
*/ */
contentProps?: HTMLAttributes | undefined; contentProps?: HTMLAttributes | undefined;
/** /**

View File

@ -189,10 +189,10 @@ export interface TabViewSlots {
*/ */
export interface TabViewEmits { export interface TabViewEmits {
/** /**
* Emitted when the value changes. * Emitted when the activeIndex changes.
* @param {number} value - New value. * @param {number} index - Current activeIndex.
*/ */
'update:modelValue'(value: number): void; 'update:activeIndex'(index: number): void;
/** /**
* Callback to invoke when an active tab is changed. * Callback to invoke when an active tab is changed.
* @param {TabViewChangeEvent} event - Custom tab change event. * @param {TabViewChangeEvent} event - Custom tab change event.