Skip to content

Commit

Permalink
fix toast title type
Browse files Browse the repository at this point in the history
  • Loading branch information
willmartian committed Jan 27, 2025
1 parent e2629ee commit 264f619
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libs/components/src/toast/toast.component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
import { Component, EventEmitter, Input, Output } from "@angular/core";

import { IconButtonModule } from "../icon-button";
Expand Down Expand Up @@ -42,10 +40,10 @@ export class ToastComponent {
* Pass an array to render multiple paragraphs.
**/
@Input({ required: true })
message: string | string[];
message!: string | string[];

/** An optional title to display over the message. */
@Input() title: string;
@Input() title?: string;

/**
* The percent width of the progress bar, from 0-100
Expand Down

0 comments on commit 264f619

Please sign in to comment.