1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-26 09:33:22 +00:00
Files
browser/libs/components/src/card/base-card/base-card.component.ts

17 lines
594 B
TypeScript

import { Component } from "@angular/core";
import { BaseCardDirective } from "./base-card.directive";
/**
* The base card component is a container that applies our standard card border and box-shadow.
* In most cases using our `<bit-card>` component should suffice.
*/
// FIXME(https://bitwarden.atlassian.net/browse/CL-764): Migrate to OnPush
// eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
@Component({
selector: "bit-base-card",
template: `<ng-content></ng-content>`,
hostDirectives: [BaseCardDirective],
})
export class BaseCardComponent {}