Skip to content

Commit ff7e021

Browse files
committed
Add console warn
1 parent 6605a67 commit ff7e021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/banner/toast.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class Toast extends Banner implements OnInit {
5454
@Input() bannerObj: ToastContent;
5555

5656
ngOnInit() {
57-
console.warn("Deprecated - Use notification instead");
57+
console.warn("`ibm-toast` has been deprecated in favour of `ibm-toast-notification`");
5858

5959
if (!this.bannerObj.closeLabel) {
6060
this.bannerObj.closeLabel = this.i18n.get().BANNER.CLOSE_BUTTON;

0 commit comments

Comments
 (0)