1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 22:13:32 +00:00

toast module improvements

This commit is contained in:
Vicki League
2025-06-25 17:06:26 -04:00
parent 57dce095b2
commit 22e5397384
2 changed files with 8 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ export class ToastComponent {
readonly message = input.required<string | string[]>();
/** An optional title to display over the message. */
title = input<string>();
readonly title = input<string>();
/**
* The percent width of the progress bar, from 0-100

View File

@@ -34,8 +34,13 @@ export default {
decorators: [
moduleMetadata({
imports: [CommonModule, BrowserAnimationsModule, ButtonModule, ToastModule],
declarations: [ToastServiceExampleComponent],
imports: [
CommonModule,
BrowserAnimationsModule,
ButtonModule,
ToastModule,
ToastServiceExampleComponent,
],
}),
applicationConfig({
providers: [