]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/blob
971a872df31ad473cd7afce95c7b7e2fb7395e4c
[ceph-ci.git] /
1 import { Component, Input, ViewEncapsulation } from '@angular/core';
2
3 export interface SidebarItem {
4   label: string;
5   route: string[];
6   routerLinkActiveOptions?: { exact: boolean };
7 }
8
9 @Component({
10   selector: 'cd-sidebar-layout',
11   templateUrl: './sidebar-layout.component.html',
12   styleUrls: ['./sidebar-layout.component.scss'],
13   encapsulation: ViewEncapsulation.None,
14   standalone: false,
15   host: {
16     class: 'tearsheet--full'
17   }
18 })
19 export class SidebarLayoutComponent {
20   @Input() title!: string;
21   @Input() items: SidebarItem[] = [];
22 }