1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 18:43:26 +00:00
Files
browser/libs/components/src/stepper/step.component.ts
Oscar Hinton c5fa1a5b04 Eliminate standalone in libs/components (#19142)
* Eliminate last standalone in libs/components

* Fix annon layout
2026-02-26 18:48:41 +01:00

18 lines
555 B
TypeScript

import { CdkStep, CdkStepper } from "@angular/cdk/stepper";
import { Component, input } from "@angular/core";
// 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-step",
templateUrl: "step.component.html",
providers: [{ provide: CdkStep, useExisting: StepComponent }],
})
export class StepComponent extends CdkStep {
readonly subLabel = input();
constructor(stepper: CdkStepper) {
super(stepper);
}
}