29 lines
647 B
JavaScript
29 lines
647 B
JavaScript
|
const AccordionTabProps = [
|
||
|
{
|
||
|
name: "header",
|
||
|
type: "string",
|
||
|
default: "null",
|
||
|
description: "Orientation of tab headers."
|
||
|
},
|
||
|
{
|
||
|
name: "active",
|
||
|
type: "boolean",
|
||
|
default: "null",
|
||
|
description: "Visibility of the content."
|
||
|
},
|
||
|
{
|
||
|
name: "disabled",
|
||
|
type: "boolean",
|
||
|
default: "false",
|
||
|
description: "Whether the tab is disabled."
|
||
|
}
|
||
|
];
|
||
|
|
||
|
module.exports = {
|
||
|
accordiontab: {
|
||
|
name: "AccordionTab",
|
||
|
description: "Accordion element consists of one or more AccordionTab elements.",
|
||
|
props: AccordionTabProps
|
||
|
}
|
||
|
};
|