From ca10403909f5db1aa164c97ff243ecdc03766194 Mon Sep 17 00:00:00 2001 From: yoyos Date: Tue, 18 Oct 2022 14:31:52 +0200 Subject: [PATCH 1/2] Update types.ts --- src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.ts b/src/types.ts index 1423db6..a9984a4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -79,6 +79,7 @@ export interface SweetAlertOptionalProps extends SweetAlertOptionalPropsWithDefa export interface SweetAlertProps extends SweetAlertOptionalProps { title: React.ReactNode|string; onConfirm: (response?: any) => any; + children: children: React.ReactNode|string; } export type SweetAlertPropsTypes = { [key in keyof SweetAlertProps]: any }; From b25e4be2167c4e7a6caa9db529eb822eecbe3d94 Mon Sep 17 00:00:00 2001 From: yoyos Date: Tue, 18 Oct 2022 14:37:38 +0200 Subject: [PATCH 2/2] Update types.ts --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index a9984a4..36d3d1b 100644 --- a/src/types.ts +++ b/src/types.ts @@ -79,7 +79,7 @@ export interface SweetAlertOptionalProps extends SweetAlertOptionalPropsWithDefa export interface SweetAlertProps extends SweetAlertOptionalProps { title: React.ReactNode|string; onConfirm: (response?: any) => any; - children: children: React.ReactNode|string; + children: React.ReactNode|string; } export type SweetAlertPropsTypes = { [key in keyof SweetAlertProps]: any };