Working with
ToastrService.success/error/warning/info()
poses no issues for me,
However, when attempting to utilize ToastrService.show()
, I am unsure of the correct string type to pass along
I made an attempt by sending an enum like so:
export enum ToastType {
Success = 'success',
Error = 'error',
Info = 'info',
Warning = 'warning'
}
Unfortunately, this caused the component to lose its styles.