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

37 lines
837 B
JavaScript
Raw Normal View History

2021-05-12 09:35:29 +00:00
const BreadcrumbProps = [
{
name: "model",
type: "array",
default: "null",
description: "An array of menuitems."
},
{
name: "home",
type: "menuitem",
default: "null",
description: "Configuration for the home icon."
2021-08-27 11:48:05 +00:00
},
{
name: "exact",
type: "boolean",
default: "true",
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
2021-05-12 09:35:29 +00:00
}
];
2021-05-17 11:58:53 +00:00
const BreadcrumbSlots = [
{
name: "item",
description: "Template of a menuitem."
}
];
2021-05-12 09:35:29 +00:00
module.exports = {
breadcrumb: {
name: "Breadcrumb",
description: "Breadcrumb provides contextual information about page hierarchy.",
2021-05-17 11:58:53 +00:00
props: BreadcrumbProps,
slots: BreadcrumbSlots
2021-05-12 09:35:29 +00:00
}
};