From d62493b08bbecdb3c79097d81195ca5ac60a6b25 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 9 Nov 2023 13:33:08 +0300 Subject: [PATCH] Fixed #4783 - AccordionTab: isTabActive property is deprecated --- components/lib/accordion/Accordion.vue | 2 +- components/lib/accordiontab/AccordionTab.d.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/lib/accordion/Accordion.vue b/components/lib/accordion/Accordion.vue index f7903594e6..601382f128 100755 --- a/components/lib/accordion/Accordion.vue +++ b/components/lib/accordion/Accordion.vue @@ -20,7 +20,7 @@ @keydown="onTabKeyDown($event, tab, i)" v-bind="{ ...getTabProp(tab, 'headeractionprops'), ...getTabPT(tab, 'headeraction', i) }" > - + void; + /** + * Whether the tab is active + * @param {number} index - Index of the tab + */ + active: (index: number) => void; }): VNode[]; }