mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
[CL-145] add secondary variant to bit-layout side nav (#7038)
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import { Component } from "@angular/core";
|
||||
import { CommonModule } from "@angular/common";
|
||||
import { Component, Input } from "@angular/core";
|
||||
|
||||
export type LayoutVariant = "primary" | "secondary";
|
||||
|
||||
@Component({
|
||||
selector: "bit-layout",
|
||||
templateUrl: "layout.component.html",
|
||||
standalone: true,
|
||||
imports: [],
|
||||
imports: [CommonModule],
|
||||
})
|
||||
export class LayoutComponent {}
|
||||
export class LayoutComponent {
|
||||
@Input() variant: LayoutVariant = "primary";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user