From 58de5e0dc105fa908d0d6c635fef7b22e0ab7e57 Mon Sep 17 00:00:00 2001 From: Clara Castillo Date: Mon, 26 Feb 2024 11:07:10 +0100 Subject: [PATCH] fix: toaster input types --- libs/ngx-sonner/src/lib/toaster.component.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/ngx-sonner/src/lib/toaster.component.ts b/libs/ngx-sonner/src/lib/toaster.component.ts index 394d8c0..a420fce 100644 --- a/libs/ngx-sonner/src/lib/toaster.component.ts +++ b/libs/ngx-sonner/src/lib/toaster.component.ts @@ -113,26 +113,26 @@ export class NgxSonnerToaster implements OnDestroy { heights = toastState.heights; reset = toastState.reset; - invert = input(false, { + invert = input(false, { transform: booleanAttribute, }); theme = input('light'); position = input('bottom-right'); hotKey = input(['altKey', 'KeyT']); - richColors = input(false, { + richColors = input(false, { transform: booleanAttribute, }); - expand = input(false, { + expand = input(false, { transform: booleanAttribute, }); - duration = input(TOAST_LIFETIME, { + duration = input(TOAST_LIFETIME, { transform: numberAttribute, }); - visibleToasts = input( + visibleToasts = input( VISIBLE_TOASTS_AMOUNT, { transform: numberAttribute } ); - closeButton = input(false, { + closeButton = input(false, { transform: booleanAttribute, }); toastOptions = input({});