@@ -10,7 +10,7 @@ export function registerNavigationExtensions(
for (const section of navSections) {
addNavMenuSection({
...section,
- placement: 'top',
+ placement: section.placement ?? 'top',
order: section.order ?? 999,
items: [],
});
@@ -97,4 +97,9 @@ export interface DashboardNavSectionDefinition {
* Optional order number to control the position of this section in the sidebar.
*/
order?: number;
+ /**
+ * @description
+ * Optional placement to control the position of this section in the sidebar.
+ */
+ placement?: 'top' | 'bottom';
}