Api generator changes

pull/3841/head
Bahadır Sofuoğlu 2023-03-24 15:37:26 +03:00 committed by Tuğçe Küçükoğlu
parent b63bc4db2f
commit f9074c68a6
3 changed files with 35 additions and 1 deletions

View File

@ -40,6 +40,12 @@ const AccordionProps = [
type: 'boolean',
default: 'false',
description: 'When enabled, the focused tab is activated.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.'
}
];

View File

@ -52,6 +52,23 @@ const AccordionTabProps = [
type: 'boolean',
default: 'false',
description: 'Whether the tab is disabled.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.'
}
];
const AccordionTabSlots = [
{
name: 'header',
description: 'Custom content for the title section of a AccordionTab is defined using the header template.'
},
{
name: 'headericon',
description: 'Custom icon for the header section of a AccordionTab is defined using the headericon template.'
}
];
@ -59,6 +76,7 @@ module.exports = {
accordiontab: {
name: 'AccordionTab',
description: 'Accordion element consists of one or more AccordionTab elements.',
props: AccordionTabProps
props: AccordionTabProps,
slots: AccordionTabSlots
}
};

View File

@ -22,6 +22,12 @@ const PanelProps = [
type: 'string',
default: 'null',
description: 'Uses to pass the custom value to read for the anchor inside the component.'
},
{
name: 'pt',
type: 'any',
default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.'
}
];
@ -52,6 +58,10 @@ const PanelSlots = [
{
name: 'icons',
description: "Custom content for the header's icon"
},
{
name: 'headericon',
description: 'Custom header icon template of panel'
}
];