Fixed #1939 - Sidebar new header templating

This commit is contained in:
Tuğçe Küçükoğlu 2022-04-21 12:10:21 +03:00
parent 99b8a374c0
commit 38d8965b37
4 changed files with 34 additions and 1 deletions

View file

@ -60,11 +60,19 @@ const SidebarEvents = [
}
];
const SidebarSlots = [
{
name: "header",
description: "Custom content for the component header."
}
];
module.exports = {
sidebar: {
name: "Sidebar",
description: "Sidebar is a panel component displayed as an overlay at the edges of the screen.",
props: SidebarProps,
events: SidebarEvents
events: SidebarEvents,
slots: SidebarSlots
}
};