From 4a33a1cec470e1ca0149fe53f12d907dd5e8555a Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 3 Apr 2023 09:27:59 +0100 Subject: [PATCH] Refactor #3832 - For Accordion --- api-generator/components/accordion.js | 4 ++-- components/lib/accordion/Accordion.d.ts | 2 -- components/lib/accordion/Accordion.vue | 16 ++++++++++------ 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/api-generator/components/accordion.js b/api-generator/components/accordion.js index baa34649c..f19209943 100644 --- a/api-generator/components/accordion.js +++ b/api-generator/components/accordion.js @@ -20,13 +20,13 @@ const AccordionProps = [ { name: 'expandIcon', type: 'string', - default: 'pi-chevron-right', + default: 'null', description: 'Icon of a collapsed tab.' }, { name: 'collapseIcon', type: 'string', - default: 'pi-chevron-down', + default: 'null', description: 'Icon of a expanded tab.' }, { diff --git a/components/lib/accordion/Accordion.d.ts b/components/lib/accordion/Accordion.d.ts index a539869a3..6d0aa818e 100755 --- a/components/lib/accordion/Accordion.d.ts +++ b/components/lib/accordion/Accordion.d.ts @@ -102,12 +102,10 @@ export interface AccordionProps { lazy?: boolean | undefined; /** * Icon of a collapsed tab. - * @defaultValue pi pi-chevron-right */ expandIcon?: string | undefined; /** * Icon of an expanded tab. - * @defaultValue pi pi-chevron-down */ collapseIcon?: string | undefined; /** diff --git a/components/lib/accordion/Accordion.vue b/components/lib/accordion/Accordion.vue index 35d477236..3cde6b2b2 100755 --- a/components/lib/accordion/Accordion.vue +++ b/components/lib/accordion/Accordion.vue @@ -15,7 +15,8 @@ v-bind="{ ...getTabProp(tab, 'headeractionprops'), ...getTabPT(tab, 'headeraction') }" > - +