primevue-mirror/api-generator/components/tabmenu.js

31 lines
659 B
JavaScript
Raw Normal View History

2021-05-12 09:35:29 +00:00
const TabMenuProps = [
{
name: "model",
type: "array",
default: "null",
description: "An array of menuitems."
},
{
name: "exact",
type: "boolean",
default: true,
description: "Defines if active route highlight should match the exact route path."
2021-05-12 09:35:29 +00:00
}
];
2021-05-17 11:58:53 +00:00
const TabMenuSlots = [
{
name: "item",
description: "Template of a menuitem."
}
];
2021-05-12 09:35:29 +00:00
module.exports = {
tabmenu: {
name: "TabMenu",
description: "TabMenu is a navigation component that displays items as tab headers.",
2021-05-17 11:58:53 +00:00
props: TabMenuProps,
slots: TabMenuSlots
2021-05-12 09:35:29 +00:00
}
};