1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00
Files
browser/libs/components/src/no-items/no-items.component.ts
Oscar Hinton 5a582dfc6f [CL-135] Migrate component library to standalone components (#12389)
* Migrate component library to standalone components

* Fix tests
2024-12-17 17:29:48 -05:00

18 lines
471 B
TypeScript

import { Component, Input } from "@angular/core";
import { Icons } from "..";
import { BitIconComponent } from "../icon/icon.component";
/**
* Component for displaying a message when there are no items to display. Expects title, description and button slots.
*/
@Component({
selector: "bit-no-items",
templateUrl: "./no-items.component.html",
standalone: true,
imports: [BitIconComponent],
})
export class NoItemsComponent {
@Input() icon = Icons.Search;
}